\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');
?>
filterCellTitle
The text that will be used for the title attribute of all filter cells belonging to a filter row in the Grid.
Returns
\Kendo\UI\GridMessages
Parameters
$value string
Example
<?php
$messages = new \Kendo\UI\GridMessages();
$messages->filterCellTitle('value');
?>
groupingHeaderLabel
The text that will be used for the aria-lable attribute of the grouping header of the Grid.
Returns
\Kendo\UI\GridMessages
Parameters
$value string
Example
<?php
$messages = new \Kendo\UI\GridMessages();
$messages->groupingHeaderLabel('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');
?>
toolbarLabel
The text that will be used for the aria-lable attribute of the ToolBar of the Grid.
Returns
\Kendo\UI\GridMessages
Parameters
$value string
Example
<?php
$messages = new \Kendo\UI\GridMessages();
$messages->toolbarLabel('value');
?>