Hi,
can anybody give me a clue how to set value of a hidden column in Interactive Grid.
I have a sample here.
There's a button "Set salary to 1000 of selected emp" on this page that executes the following JS code:
var g = apex.region('rgnEmp').widget().interactiveGrid('getViews','grid');
var r = g.getSelectedRecords()[0];
g.model.setValue(r, 'SAL', 1000);
https://apex.oracle.com/pls/apex/f?p=103570:4:Column SAL is defined as hidden and not protected.
The error that I see in console is:
Uncaught Error: Set value not allowed for field.
Tested on apex.oracle.com (version5.1.1.00.08).
Thanks in advance!
Br,
Marko