is it possible to change
$col[“editable”] = true
to
$col[“editable”] = false;
according to the value of another column?
2 Answers
Hi,
Yes, it’s doable with readonly when custom code feature.
I’m sharing you a docs link.
https://www.gridphp.com/docs/column-options/#readonly-column
Perfect, this works depending on the value that a column acquires (for example “male” or “female”). Readonly changes for that column, while I want Readonly to change for another column. is this possible?
You need to set readonly property on the column that you need to be non-editable.
And in callback function, you can make it readonly based on any column of the row.
Thank you!
Your Answer