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
❇️ OrclQA.Com is a question and answer forum for programmers.
❇️ Here anyone can ask questions and anyone can answer to help others.
❇️ It hardly takes a minute to sign up and it is 100% FREE.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
OrclQA.Com is a question and answer forum for programmers.
Here anyone can ask questions and anyone can answer to help others.
It hardly takes a minute to sign up and it is 100% FREE.
Vinish Kapoor
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.
Bert Johansson
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
Bert Johansson
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
Vinish Kapoor
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.