This project is read-only.

Checkbox disable or read only

Nov 28, 2013 at 9:58 AM
Hi

Is there anyway to disable the checkbox in the grid or set it as readonly?
Dec 3, 2013 at 3:02 AM
Hi,

Sure you can add 'disabled' attribute to the checkbox
columns.Add()
                .Encoded(false)
                .Sanitized(false)
                .SetWidth(30)
                .RenderValueAs(o => @<input type="checkbox" disabled="disabled" />)