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!

Use Javascript to locate a adf table cell value, got NULL...

Lymath-OracleJul 7 2014 — edited Jul 7 2014

Dear All,

            I am trying to use javascript to locate table cell to do some client side calculating (i refer to Calculating Sum of columns in adf table using javascript), most of the line works fine except below which is to get the cell, I debug the scripts, nbRows is correct (in my case is 5), and colId is correct (in my case is c7),  so when the script try to get t1[4]:c7 with findComponentByAbsoluteLocator, I got NULL...

var rowCol = AdfPage.PAGE.findComponentByAbsoluteLocator(tableAbsLocator + '[' + nbRows + ']:' + colId);

            What is the correct practice to get a ADF table cell with custom java script? I search around but could not find a quick runable one, thanks for help in advance.

-Liang Yi

Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Aug 4 2014
Added on Jul 7 2014
3 comments
1,341 views