Please tell me how to disable checkboxes in a grid’s checkbox column. Or can the grid set the enable-disable status of the column?
Thank you very much.
You can use the following code:
function disableCol(){
var rowNum=mygrid.getRowsNum();
col=4;
for (var i=0; i<rowNum; i++)
mygrid.cellByIndex(i,col).setDisabled(true)
}
col- index of a column which you would like to disable.