Hi
There is provision to lock the whole row in dhtmlx grid using API
mygrid.lockRow(3,true);
So, the row having id 3 is become readonly(or lock for edit).
Is there any provision to lock column and single cell in grid?
-
Kunal
For single cell
grid.cells(i,j).setDisabled(true);
For column, it can be achieved through event
grid.attachEvent(“onEditCell”,function(stage,id,ind){
if (ind==INDEX) return false;
return true;
});
where INDEX - index of column for which edit operation need to be blocked