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!

Conditionally disable Interactive Grid Checkbox column based on select list in other column

randallwijntuinMay 8 2020

See IG Cookbook 19.2 for the Interactive Grid Checkbox workaround I am implementing.

I need to disable this checkbox based on the value of a select list in a different column. First I attempted to do this with on-change dynamic actions, by adding and removing the 'apex_disabled' class. This works fine until the checkbox has been changed once. In that case it removes the apex_disabled class after it's been applied, meaning that i can still change it if the condition says it can't.

I also tried using applying on-click listener with javascript, that checks the value in the grid model and applies the class if needed. The issue here however, is that the values in the model don't always match the value selected on the list, so the checkbox is not always applied when i need it to.

Is there any way I can achieve this disabling?

Comments
Post Details
Added on May 8 2020
0 comments
1,310 views