Grid is working great. I want to freeze some records so that user could not update / delete them. For example, I have 20 records to show. I have set a flag in the DB as locked = 1. 5 records has the flag as 1 so user must not be able to update or delete them.
I have found this in column-access.php. I think it has a problem. Suppose, we have 10 records in our table. One of them is frozen and user should not be able to edit / delete it. Edit works fine but there is problem with delete. If we select the frozen record, system disables the delete icon in the toolbar but the problem comes if we select multiple records to delete including the frozen one. Like, we have
now, if we select both records, system enables the delete icon in the toolbar and if we click it, system removes both records.
How useful was this discussion?
Click on a star to rate it!
Average rating / 5. Vote count:
We are sorry that this post was not useful for you!
Let us improve this post!
Thanks for your feedback!