Skip to Main Content

Java Development Tools

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Get row ID from af:table with javascript

3265832Mar 7 2017 — edited Mar 29 2017

Hello, I have a table that has client listener. When I select a row from a table it triggers the JS code. Now, I'd like to fetch either row ID or a value from a selected row. I have so far put the table as client component and fetched it with var textfield = AdfAgent.AGENT.getElementById('pt1:r1:1:pc1:t2'); . Now I would need a way to find out the ID of the caller row or to manipulate cell from called row.

jDev version 12.2.1.2.

With regards,

Darko

Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Apr 26 2017
Added on Mar 7 2017
2 comments
910 views