Hi
Do you have any suggestion how I can add funcionallity to your way to highlight row in IR as described in your blog. I have an IR wich calls a modal page. I want to preserve the highlight when refresh when dialog closed.
Br
Bert
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
To prevent the highlight follow these steps:
Create a hidden page item to store the link column value, for example, I have a report on EMP table and the link column based on the EMPNO, so I created a hidden page item as P20_VEMPNO. Turn the value protected off for this hidden page item.
Specify a Staic ID to your link column, for example, sIDEMPNO.
CSS inline code:
Now modify the JavaScript function as follows:
Also, change the link attribute code as follows:
In the above code I am passing the EMPNO column value to JavaScript function. If you column data type is varchar2 then specity the value in single quotes, for example, ‘#ENAME#’
Now create a dynamic action on interactive report for After Refresh event and add a True action to execute the JavaScript code. Add the following JS code in it:
Save the changes and run the page to test.
Please let me know if still any issues.
Hi,
Thank’s a lot. I works fine 🙂
I have an other problem 😉
When I’m positioned on the second or third … page of IR.
After refresch I always end up on firs page. The highlight is still there but on the second page.
How can I position and show the second page?
Br
Bert
Hi,
Thank’s a lot. I works fine 🙂
I have an other problem 😉
When I’m positioned on the second or third … page of IR.
After refresch I always end up on firs page. The highlight is still there but on the second page.
How can I position and show the second page?
Br
Bert
After refresh, the whole report will refresh and will focus on the first page. I didn’t found any solution so far to preserve the current page after refresh.