TreeListView.startEditing

Syntax

startEditing(nodeKey, column, autoEnding);

Parameters

nodeKey. String. Edited node key.

column. Number. Column index

autoEnding. Boolean. Indicates whether editing is ended automatically. If the value is True, editing is executed on losing the focus or on pressing the ENTER key.

Description

The startEditing method includes node editing contents mode.

Example

Executing the example requires the SimpleTreeList component with the Tree identifier (see Example of Creating the SimpleTreeList Component).

// Enable editing mode
Tree.setEnableEdit(true);
// Start node editing
Tree.startEditing("0", 1, false);

End node editing

// End node editing
Tree.stopEditing();

After executing the example node editing is started, on executing the second string - editing is ended.

See also:

TreeListView