How to disable BoundCheckBoxField for specific rows

I have WebHierarchicalDataGrid. In the root band, there is a check box (BoundCheckBoxField). There is also a hidden column that controls whether or not the row should be editable.

How can I dynamically (row-by-row) set whether or not the check box is editable?

I am aware of the CellEditing behavior, but that can only be set for the whole column, not for specific rows/cells. I have also seen in other posts where it is recommended that the EnteringEditMode client side event be handled and eventArgs.set_cancel can be used to prevent the edit from beginning. That's fine for BoundDataField columns, but the EnteringEditMode event is never fired for the check box column. I have tried handling the grid click event and am able to detect the checkbox column and check the data I have in another column in the row, but the set_cancel does nothing to prevent the box from being toggled. Furthermore, it looks like the check box is toggled before the event is even raised.

Is there another client side event I can use to prevent a check box cell from being edited?

Parents Reply Children
No Data