Hi Daniel,
Greetings from Syncfusion.
The forum 137527, belongs to the EJ1 Grid which runs on the jQuery. To disable the command column button in the Essential JavaScript 2 Grid, you have to use the following method.
function onQueryCell(args) {
if (args.cell.classList.contains('e-unboundcell') && args.data.OrderID % 2== 0) {
args.cell.querySelector("button[title='Details']").ej2_instances[0].disabled=true;
}
}
|
We have prepared a sample demo,
Regards,
Seeni Sakthi Kumar S