\Kendo\UI\GridMessages
A PHP class representing the messages setting of Grid.
Methods
commands
Defines the text of the command buttons that are shown within the Grid. Used primarily for localization.
Returns
\Kendo\UI\GridMessages
Parameters
$value \Kendo\UI\GridMessagesCommands|array
Example - using \Kendo\UI\GridMessagesCommands
<?php
$messages = new \Kendo\UI\GridMessages();
$commands = new \Kendo\UI\GridMessagesCommands();
$cancel = 'value';
$commands->cancel($cancel);
$messages->commands($commands);
?>
Example - using array
<?php
$messages = new \Kendo\UI\GridMessages();
$cancel = 'value';
$messages->commands(array('cancel' => $cancel));
?>
expandCollapseColumnHeader
Allows the customization of the text in the column header for the expand or collapse columns. Sets the value to make the widget compliant with the web accessibility standards.
Returns
\Kendo\UI\GridMessages
Parameters
$value string
Example
<?php
$messages = new \Kendo\UI\GridMessages();
$messages->expandCollapseColumnHeader('value');
?>
noRecords
Defines the text of the "noRecords" option that is rendered when no records are available in current view. The "noRecords" options should be set to true.
Returns
\Kendo\UI\GridMessages
Parameters
$value string
Example
<?php
$messages = new \Kendo\UI\GridMessages();
$messages->noRecords('value');
?>