Read-only attribute still allows drop-down control in DataGrid.

I have a DataGrid with a column where users of some role can make quick edits.  Other user roles do not have write access to the attribute, but they can still click in the grid to trigger edit mode in that column (associated with the read-only attribute).  Why is that?  Shouldn’t the system know those associated attributes are readonly to the user and prevent showing edit controls? It looks like an oversight. The only work-around is to duplucate the whole grid and show based on roles.  I’m hoping it is unnecessary to maintain multiple data grids for such a seemingly simple task. It’s too bad I can’t set role based editability per column.
0 answers