:: Home >>

cell editable

Enables or disables editing of the cell text by the end user. The default value is false (editing is disabled).

The cell switches to edit mode with F2 or Enter keys, mouse double click or when the users starts typing the new value.

Syntax

var value = obj.getCellEditable(); 
obj.setCellEditable(value);        

obj.onCellEditableChanging = function(value){...}; 
obj.onCellEditableChanged = function(value){...}; 
obj.onCellEditableError = function(value){...}; 

Defined in

cell model

Examples

obj.setCellEditable(true); // all cells editable
obj.setCellEditable(false, 0); // col-0 readonly

See also

Events: editing and validation
Grid templates: cell
Cell model: text, image, tooltip, link, value, data, format, state, selected

Comments

27 Jun 08
setCellEditable with setCellModel(teble) gagyimail (0)
5 Apr 06
Make Some Cells Editable Paul Tiseo (2)
22 Feb 06
possible to make a column uneditable? wombat (1)

Comments will appear on this page and in the main forum.

Documentation:

Recent changes:

2.6.4
2.6.3
2.6.2
2.6.1
2.6.1
2.6.0
2.5.0 - 2.5.6
2.5.6
2.5.0 - 2.5.5
2.5.5