How to disable a checkbox for a particular cell in a datagri


I use the Enterprise version of Datagrid. I have a checkbox column with a “ch” type. In some cases I need some of checkboxes disabled.



How could I disable a particular checkbox cell via XML?



I think having a functionality like the following would do just fine:



cell_value_goes_here



as well as having a new type - “chro”



Thank you in advance.

You can use XML as
cell_value_goes_here

And next js code

grid.loadXML(url,function(){
grid.forEachRow(function(id){
var cell = grid.cells(id,INDEX);
if (cell.getAttribute(“disabled”)) cell.setDisabled(true);
});
});

Thank you, it works.