Hi
I have below code & i want it is true then - fa fa-check should be displayed instead of CheckBox.
{
data: "IsActive",
render: function (data, type, row) {
if (data == true) {
return '<input type="checkbox" checked>';
} else {
return '<input type="checkbox">';
}
return data;
}
},
Thanks