Categories | Question details Back To List | ||||||||
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 <cell disabled="true">1</cell> 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. Answer posted by Support on Feb 04, 2009 02:55 Please check attached sample. Be sure that you are using dhtmlxgrid 1.6+ , and using correct column index in cells(id,0) command Attachments (1)
|