adding a checkbox in each row


Hello,


I have already imported the .js file....but i'm looking for the function declaration...


either


resultDhtmlxGrid.setColTypes("ch");


OR


resultDhtmlxGrid.setColumnExcellType(colIndex,type); ----where to declare these???

setColTypes() method is used to declare all columns types before grid initialization.
setColumnExcellType(colIndex,type) is used to change dinamically column type after grid was initialized. You should call this method after grid was fully loaded:
mygrid.load(“grid.xml”,function(){
mygrid.setColumnExcellType(colIndex,type);
})