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!

How set IG column as non-editable for user and editable using client-side code?

Eslam_Elbyaly5 days ago

Hi,

I am on APEX 24,
I have an IG “TESTS” which has a column “TEST_PRICE”. That column should be editable only if a value of an application item “ROLE_CD” = “D”.

Being non-editable is only for user, but I need to be able to set it's value using javascript.

I tried:
function(options) {
    var role = "&ROLE_CD.";

    if (role != "D") {

    options.features.editable = false;
    }
    return options;
}

But it's still editable even if role_cd != “D”.

Comments
Post Details
Added 5 days ago
3 comments
104 views