Skip to Main Content

APEX

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!

Interactive grid checkbox checked by using javaScript

SAMB4May 4 2018 — edited May 11 2018

I saw the below thread,

But i am unable to understand this line

Setting the selection to a specific record where rec is something you got from getSelectedRecords or from the model.

ig$.interactiveGrid("setSelectedRecords", [rec]);

If i tried to hard code values the checkbox ticked everything fine. ig$.interactiveGrid("setSelectedRecords", ["7980"]);

Same if i pass in a variable its not working

for example

rec="7980"

ig$.interactiveGrid("setSelectedRecords", [rec]);

Can any one please let me know where i am doing wrong.

Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Jun 8 2018
Added on May 4 2018
7 comments
3,712 views