I’ve used Migxdb to set up a grid TV to edit linked entries from a custom table inside my resources. It works great and was so quick to set up
I have an unusual need however: some of the rows in the custom table come from an external data source and are updated automatically. They need to display in the migxdb grid but not be editable. Other rows have been added by MODX users and need to be editable.
My custom table has an is_editable column, but I haven’t been able to find a way to lock grid rows based on the value of this column. Is there a way to do this?
It’s probably better to only add the context menu item, if the row is marked as editable, by checking the column value before the handler gets executed.