Hello APEX Experts,
We are migrating the legacy Oracle Forms pages into the Oracle APEX pages.
On one of the page, we have an Interactive Grid with 3 columns: Role_Name (Display Only), Role_Description (Display Only) and Enabled (Checkbox).
On click (or on change) of a checkbox we would like to do some sort of PL/SQL checking and dynamically ticked/unticked the Enabled column. For this we have to go through (loop through) the existing available roles and have to check against each role.
We are stuck here, we don't know how can we check the current value of the role_name with other available role_name in a grid? How to implement this? Is the IG correct solution for this? Is there alternative solution available (say using IR)?
Your help and support would be appreciated.
We are using APEX v23.2.
My APEX IG:

I have also attached the sample code: WHEN-CHECKBOX-CHANGED for your reference. It fires when checkbox changed.
sample_code.txt