Hi Matt,
Thanks for contacting Syncfusion support.
We have achieved your requirement using queryCellInfo event in Grid. In this event get every time a request is made to access cell information, element and data. In that event, we have changed the normal checkbox to ejCheckbox control. Please refer to the following code example, Help documentation and sample,
Code example:
@Grid
$("#Grid").ejGrid({
// the datasource "window.gridData" is referred from jsondata.min.js
dataSource: window.gridData,
. . .
queryCellInfo: function (args) {
if (args.column.field == "Verified" && !$(args.cell).find("input").hasClass("e-checkbox")) {
$(args.cell).find("input").ejCheckBox();//render the ejCheckbox
}
},
. . .
columns: [
. . .
{field:"Verified", headerText:"boolean column", editType:"booleanedit", width:90}
]
});
@Style
<style>
.e-chkbox-small > span {
margin-left: 10px;
}
</style> |
Regards,
Venkatesh Ayothiraman.