Editable
configurationIf set to true, the user will be able to edit the data to which the TreeList is bound. By default, editing is disabled.
editable can be set to a JavaScript object (which represents the editing configuration) or to a string (which specifies the edit mode).
The supported string values are:
- (Default)
inline popupincell
- The inline and popup edit modes are triggered by the
editcolumn command. Therefore, in order for these edit modes to work correctly, you need to have a column with theeditcommand.- In order for the edit operations to work correctly, configure the dataSource for CRUD operations.
editable
Boolean|ObjectDefault: false
editable.mode
StringThe edit mode that will be used.
The supported edit modes are:
inlinepopupincell
The inline and popup edit modes are triggered by the
editcolumn command. Therefore, in order for these edit modes to work correctly, you need to have a column with theeditcommand.
Default: "inline"
editable.move
Boolean|ObjectEnables the drag-and-drop UI of rows between parents.
Default: false
editable.template
String|FunctionThe template which renders the popup editor.
The template has to contain elements whose name HTML attribute is set to the name of the editable field. In this way, the TreeList recognizes
the field to which it has to bind the each editor. Alternatively, use MVVM bindings for binding HTML elements to data item fields.
To initialize Kendo UI widgets in the template, use the
roledata attribute. For more information, refer to thedataattribute initialization.
editable.window
ObjectConfigures the Kendo UI Window instance which is used when the TreeList edit mode is set to popup. For more information, refer to the configuration API of the Window.