Lock a cell or a column in grid

a have grid with 2 columns i need to lock the second column all over the grid but on addrow i need to make it editable

the type of the second column is combo

thank you

You can use onEditCell event with logic similar to next

var allowed=null;
mygrid.attachEvent(“onEditCell”,function(stage,id,ind){
if (ind == 1 && id!=allowed) return false;
return true;
});
mygrid.attachEvent(“onRowAdded”,function(id){
allowed = id;
});

in such case, second column will be editable only on last added row