Hi!
I use Tree region which has two levels, I want to set value for an item which is ID of Tree. And refresh another regions.
How I can get ID and refresh regions?
❇️ 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
Follow these steps:
Create the following JavaScript function in the Function and Global variable declare section of the page:
Change the P1_TREE_ID to your list item.
Add a link column ('javascript:setPageItem("'|| YourTreeID|| '")' As link) to your Tree view query as shown in the below example:
The link column of the above query will set the page item P1_TREE_ID value with YourTreeID.
pavlos
Thanks Vinish!
When I set item value region another region is refreshed, but I can't see new results?
Vinish Kapoor
You need to submit the item for that region/report.
Or you mean the item value is not taking effect?
pavlos
Works, when I submit an item, but I need to refresh region several times to see results
pavlos
DA event is double click
Vinish Kapoor
If I am getting it right. You can try by adding one more line to the JS function:
pavlos
Thanks works perfect!
I use Region Display selector and when I add several refresh in JS function. This refresh only for active region in RDS