check box in grid

Hi

I am using a grid with checkboxes and I populate it with XML
print(""); = checkbox checked
print(""); = checkbox empty

Is there a way to send with XML a parameter to have an empty “disabled” checkbox or no checkbox displayed at all for certain rows?

Thanks in advance
D

There is no way to send such parameter with xml. But you can try to use following workaround:


grid.attachEvent("onRowCreated",function(row_id){ if (grid.cells(row_id,cell_index).getAttribute("disabled")=="true"){ grid.cells(row_id,cell_index).setDisabled(true) } })