This question is locked. New answers and comments are not allowed.
In my Grid I am using client binding.
Be default bool is displayed as text "true" or "false".
I want it to be displayed as Checkbox.
I tried ClientTemplates for this. However in this case it is editable, which is undesireable.
It is editable, even though I did declare the column as readonly.
And also the values are not displayed in this case. Only all empty checkboxes.
See attachment
Be default bool is displayed as text "true" or "false".
I want it to be displayed as Checkbox.
I tried ClientTemplates for this. However in this case it is editable, which is undesireable.
It is editable, even though I did declare the column as readonly.
And also the values are not displayed in this case. Only all empty checkboxes.
See attachment
| c.Bound(r => r.Urgent).ReadOnly(true) |
| .ClientTemplate("<input type='checkbox' name='Urgent' value='<#= Urgent #>' />"); |
| c.Bound(r => r.Important).ReadOnly(true) |
| .ClientTemplate("<input type='checkbox' name='Important' value='<#= Important #>' />"); |