Hi Cholet,
Thanks for contacting Syncfusion Supports.
We have validated your provided sample and we have found the column type “checkbox” is defined as incorrect. Please find the code example.
@(Html.EJ().Grid<TestGridCheckBox.Models.OrdersView>("Selection") .Datasource((IEnumerable<object>)ViewBag.datasource) .AllowPaging() .AllowSelection() .Columns(col => { col.Type("checkbox").Width(50).Add(); col.Field("OrderID").IsPrimaryKey(true).Width(80).TextAlign(TextAlign.Right).Add(); col.Field("CustomerID").HeaderText("Customer ID").Width(75).Add(); col.Field("EmployeeID").HeaderText("Employee ID").Width(75).TextAlign(TextAlign.Right).Add(); col.Field("Freight").HeaderText("Freight").Format("{0:C}").Width(75).TextAlign(TextAlign.Right).Add(); }) ) |
Note : please use small case as col.Type(“checkbox”)
For your reference, please find the sample.
Regards,
J.Mohammed Farook