Is it possible to change the checkbox image in a checkbox field to an
open or closed padlock depending on the value of the field?
3 Answers
Hi,
I have prepared a demo for you.
Few things to consider, the first column of the grid must be PK of the table to perform edit/delete operations.
For this we have positioned second the lock/unlock column and made the first column (pk) as hidden.
https://gist.github.com/gridphp/c9bf9cf8a9cdf5a715db567e2fbe1169
Screenshot:
ok, this works for when the gender value changes. But I\’m looking for something similar to: https://drive.google.com/file/d/1Th8ZPKITiZc3oFPiEMSlTu1ozWO-y3_k/view?usp=drive_link an action button to lock and unlock a row would be nice…. does it exist?
Your Answer