Trying to prevent accidental data issues. Can I:
Prevent certain field(s) from being edited in grid but allow popup editing. For Instance I would like a READONLY title to show in the popup but not be editable.
Prevent certain field(s) from being edited when doing bulk edit. Some fields should NOT be bulk edited but ok individually. Any help would be great.
Thanks!
1 Answers
1) You can hide certain fields from bulk edit by following code.
$col["show"] = array("list"=>true, "add"=>true, "edit"=>true, "view"=>true, "bulkedit"=>false);
2) You can refer: https://www.gridphp.com/docs/column-options/#readonly-column
$col["editrules"]["readonly"] = true;
Your Answer