\Kendo\UI\TreeListEditable

A PHP class representing the editable setting of TreeList.

Methods

mode

The editing mode to use. The supported editing modes are "inline", "popup" and "incell".

Returns

\Kendo\UI\TreeListEditable

Parameters

$value string

Example

<?php
$editable = new \Kendo\UI\TreeListEditable();
$editable->mode('value');
?>

move

Enables the drag-and-drop UI of rows between parents.

Returns

\Kendo\UI\TreeListEditable

Parameters

$value boolean

Example

<?php
$editable = new \Kendo\UI\TreeListEditable();
$editable->move(true);
?>

template

The 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.

Returns

\Kendo\UI\TreeListEditable

Parameters

$value string|\Kendo\JavaScriptFunction

Example - using string

<?php
$editable = new \Kendo\UI\TreeListEditable();
$editable->template('value');
?>

Example - using \Kendo\JavaScriptFunction

<?php
$editable = new \Kendo\UI\TreeListEditable();
$editable->template(new \Kendo\JavaScriptFunction('function() { }'));
?>

window

Configures 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.

Returns

\Kendo\UI\TreeListEditable

Parameters

$value ``
In this article
Not finding the help you need?