1. Create a Dynamic Action to Cascade first column value
2. Type: jQuery Selector
3. True Action, Execute Javascript
4. Insert the following Code
—–
row_id = $(this.triggeringElement).attr(‘id’).substr(4);
var v_code = $(this.triggeringElement).val();
$(“#f03_” + row_id).val(v_code);
—–
fo3 is the sequence of the tabular form column which will be set.
5. Add the jQuery Selector class to the column.
6. At this point you can say I’m done, but the values will not be populated to all rows. Therefore we add the following:
7. Create a Dynamic Action on Page Load
8. add the following to the Java Script Code.
$(“td[headers=’EMD_MASTER_ID’] select”).change();
NOTE: Here I’m using select, because I have a select list which I want to copy. If you have text values you can use input instead of select.
The result looks like this:
You can use the same construction to create a cascading LOV in tabular form.
Any questions? drop me an email.
download the application from here
It is not working for me
Hi,
What is not working? what would you like to do, just let me know maybe I can help you.
Thanks
Mazin
Hi it is not working for me also..Can you please explain clearly. I am new to apex and me also get same type of requirement like tabular for if i enter deptno in text feild then department name should be update automatically. can you please suggest me how it possible.
Hi,
i want to implement cascading LOV in tabular form but i’m unable to implemented it.
please help me.
Can you create an example or demo application with the code?
Hi Mazin,
Could you please include the LOV definitions of the 2 columns?
I don’t understand how will the second column update itself… What parameter will it use? Is it a page item? It should depend on the value selected in the first column, and I don’t really get how…
Thank you,
Horatiu
Hi,
The idea is to copy a value from one to another LOV. the “f03_” is actually the ID of the second column.
Ps. the cascading described above works only for existing/saved items.
Hi it is not working for me also..Can you please explain clearly. I am new to apex and me also get same type of requirement like in department tabular form is there and i clicked add row button then if i enter deptno in text feild then department name should be update automatically. can you please suggest me how it possible.
I can send you the the application I used for this demo. please send me an email address and I will send it to you.
Can you send me this demo, too? thanks for help. 🙂
TY, demo sent to your email.
Hi, Can you please send me the Demo. Thank you.
Nani, the demo is sent to your email.
please demo link
Hi,
Can you please send me the Demo link.
Thanks
Rachid: demo sent to your email.
Please demo the link
Hi mazinabdulah.. Please share ur Demo to me too.
Hi,
Can you please send me the Demo 7 sample link for download.
Can you please send me the Demo? chris.kb1993@gmail.com
Hi,
This approach works fine for me for existing records but not for new ones. The dynamic action does not kick in when I click on create button and a new record is appended at the end of the tabular form.
Any ideas?
Regards
May you send me the Demo? aramambasoa@yahoo.fr
https://www.dropbox.com/s/3p5j80m8hvtwvgh/f153.sql.zip?dl=0
MAY U SEND THE DEMO ?? ZODA908@HOTMAIL.COM
https://www.dropbox.com/s/3p5j80m8hvtwvgh/f153.sql.zip?dl=0
Can you please send me the demo? susan.m.giera@nasa.gov
Hi Suzan,
The download link is under the post.
https://www.dropbox.com/s/3p5j80m8hvtwvgh/f153.sql.zip?dl=0
reg,
Mazin