Hello. I have a question.
I know how to apply css to a row that meets certain conditions when I do onbeforeload of datatables.
But how do I search the input boxes inside?
In my site, code like this.
var dialogGrid = $('#LEQPEN011_3_GMASTR001_grid');
dialogGrid.attachEvent('onItemDblClick', function(rowId, e, node) {
var data = this.getItem(rowId);
var row = grid2.getItem($rowId);
row = $.extend({}, row, data);
row.id = $rowId;
grid2.updateItem(row.id, row);
grid2.refresh();
rowData = {};
});
ex) Condition is A = B. all rows data is different.
if A = 1, B = 2 then false.
else A = 1, B = 1 then true.
when condition is true then checkbox is disabled.
At the grid.onBeforeRender event, I want to know how to implement the code to disable checkbox for that row when certain conditions are true.
Please answer me.