\Kendo\UI\TreeListMessages

A PHP class representing the messages setting of TreeList.

Methods

commands

Defines the text for the command buttons used across the widget.

Returns

\Kendo\UI\TreeListMessages

Parameters

$value \Kendo\UI\TreeListMessagesCommands |array

Example - using \Kendo\UI\TreeListMessagesCommands

<?php
$messages = new \Kendo\UI\TreeListMessages();
$commands = new \Kendo\UI\TreeListMessagesCommands();
$canceledit = 'value';
$commands->canceledit($canceledit);
$messages->commands($commands);
?>

Example - using array

<?php
$messages = new \Kendo\UI\TreeListMessages();
$canceledit = 'value';
$messages->commands(array('canceledit' => $canceledit));
?>

loading

Defines the text of the "Loading..." message when the widget loads its root-level items.

Returns

\Kendo\UI\TreeListMessages

Parameters

$value string

Example

<?php
$messages = new \Kendo\UI\TreeListMessages();
$messages->loading('value');
?>

noRows

Defines the text of "No records to display" message when the widget does not show any items.

Returns

\Kendo\UI\TreeListMessages

Parameters

$value string

Example

<?php
$messages = new \Kendo\UI\TreeListMessages();
$messages->noRows('value');
?>

requestFailed

Defines the text of "Request failed." message when the widget fails to load its root-level items.

Returns

\Kendo\UI\TreeListMessages

Parameters

$value string

Example

<?php
$messages = new \Kendo\UI\TreeListMessages();
$messages->requestFailed('value');
?>

retry

Defines the text of "Retry" message assigned to the button that tries to load root-level items again.

Returns

\Kendo\UI\TreeListMessages

Parameters

$value string

Example

<?php
$messages = new \Kendo\UI\TreeListMessages();
$messages->retry('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