\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 drag&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 should contain elements which name HTML attribute is set to the name of the editable field. This is how the TreeList will know which field to bind each editor to. The other option is to use MVVM bindings in order to bind 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 "popup".For more information, please refer to the Window configuration API.

Returns

\Kendo\UI\TreeListEditable

Parameters

$value ``
Is this article helpful? Yes / No
Thank you for your feedback!

Give article feedback

Tell us how we can improve this article

close
Dummy