Checkbox for dhtmlgrid

Hi ,

We are using enterprise edition.

We want to enable / dis-able checkboxes for certain cells in a row.

I searched the knowledge base and found the solution…

>>>

There is no separate attribute , but you can use in XML

1

and in js code

grid.attachEvent(“onRowCreated”,function(id){

var cell = grid.cells(id,0); //checkbox cell

if (cell.getAttribute(“disabled”)) cell.setDisabled(true);

})

>>>



This isnt working for me. I am loading the xml using loadXmlString.

am I missing something . Pls help me out.

Please check attached sample.
Be sure that you are using dhtmlxgrid 1.6+ , and using correct column index in cells(id,0) command

1233745648.zip (79.4 KB)