HI.
In the grid I would need to condition the edit and delete actions at a single row level: how can I do this?
Thank you.
To know how to make certain row non-editable, You need to check column-access demo: https://www.gridphp.com/demo/demos/editing/column-access.phps
E.g. If you wish to show all rows but make them readonly on certain conditions e.g. gender = male, then you can refer to the following demo code.
It needs some additional javascript code to restrict editing of rows.
Line 36-41, set events to apply checks
Line 127-132, restrict double click editing, where gender=male
Line 150-154, restrict default display to readonly row, where gender=male
Line 176-180, restrict if select all checkbox is checked.
Line 198-202, restrict if single row is selected (line 222-225 if multi-select is enabled).