:: Forum >>

Non editable column among other editable columns...

Hey there,

Is there a way to specifiy that only one or n columns are not editable, while the grid it self is editable :
Example :
obj.setCellEditable(false,1);
obj.setCellEditable(true,2);

Cause I only found
obj.setCellEditable(false);
for all columns...


Thx
Andreas Richter
Saturday, November 5, 2005
Hi Andreas,
I solve it creating a copy of the input template and adding the line:
obj.setEvent("onblur",function() {update.call(this) });
and then using on the page:
obj.setEditorTemplate(new MY.Noedit, 2);
(creating a non editable input template that retains selection), cause I try the same with a Label-template and the selection disappears.
I agree it should be a easier way of doing so ..(or it already exist and I couldn't locate it).Maybe Beta2 includes new ways.
I plan to post some template-full-codes soon.
Thanks
Carlos
Saturday, November 5, 2005

This topic is archived.


Back to support forum

Forum search