By design, it is expected the GridCheckBoxColumn
to be read-only (disabled) in view mode. When the column is editable, the checkbox is enabled. The Grid - Column Types
demo exposes the default behavior of the different column types, including the GridCheckBoxColumn
In order to have the checkbox enabled both - in view mode and in edit mode, you will have to use a TemplateColumn with a checkbox inside the ItemTemplate. The check state of the checkbox could be modified based on the data (in boolean type) coming from the data source of the grid, using the DataField property.
Another approach would be to set the check state of control in the ItemDataBound
event handler of the grid which is fired after an item is databound to the RadGrid control. In the event handler, based on the value from the data source, you can either check or uncheck the checkbox.
Let me know if you need further clarifications or assistance.
Get quickly onboarded and successful
with your Telerik and/or Kendo UI products with the Virtual Classroom free technical training, available to all active customers. Learn More.