Hi
With the below code how i can disable Delete button if IsActive = "N"
$('#tblLocation').DataTable({
"ajax": {
"url": '/Location/List',
"type": "get",
"datatype": "json",
dataSrc: ""
},
paging: true,
sort: true,
pageLength: 10,
searching: true,
"columns": [
{ "data": "Id", "autoWidth": true },
{ "data": "Description", "autoWidth": true },
{ "data": "IsActive", "autoWidth": true },
{
"data": "Id", "render": function (data) {
}
}
]
});
Thanks
Sachin SinghPosted Jun 3, 2021, 7:12 AM