:: Forum >>

make a single cell uneditable

This question has been answered for 1.x

With the 2.x version, is there an easy way to dynamically make a single cell uneditable (suppose the rest of the grid is editable).

eric juvet
Monday, August 14, 2006
Try this

obj.onCellEditStarting = function(text, column, row) {

// if you want to make cell (0,0) uneditable
if ((column==0) && (row==0)) {
return 1;
}
}

lcs
Wednesday, August 16, 2006

This topic is archived.


Back to support forum

Forum search