Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    text
    copied!<p>Hopefully you understand how the f## arrays work a bit and what they look like in the generated html. To solve this you need javascript, and to understand that you do need to know what that html looks like. Nothing is as error-prone as misunderstanding this! Changing the f## array or any of the required columns name may stop the code from working properly, and while I don't think it is too hard, it is simply important to understand it. If you implement it, you will need to be able to support it and not rely on the help of a stranger on the internets. Having said that.</p> <p>Create a dynamic action. </p> <ul> <li>Event: After refresh</li> <li>Selection type: Region</li> <li>Region: your IR region</li> <li>Condition: -</li> <li><p>True action:</p> <ul> <li>Execute javascript code</li> <li>fire on page load: checked</li> <li><p>Code:</p> <pre><code>$("input[name=f01]", this.triggeringElement).change(function(){ //mind the capitalization in the headers attribute selector var lRow = $(this).closest("tr"), lct22 = lRow.find("td[headers=CT22]").text(), lct23 = lRow.find("td[headers=CT23]").text(), lct24 = lRow.find("td[headers=CT24]").text(); console.log("22: " + lct22 + " - 23: " + lct23 + " - 24: " + lct24); $s("P3_CT13", lct22); $s("P3_CT14", lct23); $s("P3_CT15", lct24); }) </code></pre></li> </ul></li> </ul> <p><code>"input[name=f01]"</code> will select the radiobuttons. You gave the radiobuttons <code>p_idx=&gt;1</code> and this will translate to the usage of array f01.</p> <p>I made a small demo app too: <a href="http://apex.oracle.com/pls/apex/f?p=11964" rel="nofollow">http://apex.oracle.com/pls/apex/f?p=11964</a> . Log in with apex_demo/demo</p>
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload