Start Building Professional
Web Apps Today


 
Categories Question details Back To List
Question  posted by Ashwini on Jun 23, 2008 00:37
open dhtmlx forum
Hide checkbox for certain rows

Am using a grid with the col types as mygrid.setColTypes("ch,tree,ro");
I dont want the checkbox in certain rows.How do i do this? I tried setting the coltype before each addRow but its not working.
Answer posted by Support on Jun 23, 2008 01:50
>> I tried setting the coltype before each addRow but its not working.
The coltypes affect all cells in the same column, and can't be used to dynamically change cell types
Grid supports special method for changing type of specified cell

    grid.setCellExcellType(some_id,index,"ro")
    grid.cells(some_id,index).setValue("")