\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" and "popup".

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 whose name HTML attributes are set as the editable fields. This is how the treelist will know which field to update. 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". The configuration is optional.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