\Kendo\UI\TreeListMessages

A PHP class representing the messages setting of TreeList.

Methods

commands

Defines the text for the command buttons that are 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();
$cancel = 'value';
$commands->cancel($cancel);
$messages->commands($commands);
?>

Example - using array

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

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 for the button which triggers the reloading of the TreeList root-level items.

Returns

\Kendo\UI\TreeListMessages

Parameters

$value string

Example

<?php
$messages = new \Kendo\UI\TreeListMessages();
$messages->retry('value');
?>
In this article
Not finding the help you need?