\Kendo\UI\GridGroupable
A PHP class representing the groupable setting of Grid.
Methods
enabled
When set to false grouping is considered disabled.
Returns
\Kendo\UI\GridGroupable
Parameters
$value boolean
Example
<?php
$groupable = new \Kendo\UI\GridGroupable();
$groupable->enabled(true);
?>
messages
The text messages displayed during grouping.
Returns
\Kendo\UI\GridGroupable
Parameters
$value \Kendo\UI\GridGroupableMessages|array
Example - using \Kendo\UI\GridGroupableMessages
<?php
$groupable = new \Kendo\UI\GridGroupable();
$messages = new \Kendo\UI\GridGroupableMessages();
$empty = 'value';
$messages->_empty($empty);
$groupable->messages($messages);
?>
Example - using array
<?php
$groupable = new \Kendo\UI\GridGroupable();
$empty = 'value';
$groupable->messages(array('empty' => $empty));
?>
showFooter
When enabled the group footer rows will remain visible when the corresponding group is collapsed.
Returns
\Kendo\UI\GridGroupable
Parameters
$value boolean
Example
<?php
$groupable = new \Kendo\UI\GridGroupable();
$groupable->showFooter(true);
?>
sort
Sets the sort configuration when grouping.
Returns
\Kendo\UI\GridGroupable
Parameters
$value \Kendo\UI\GridGroupableSort|array
Example - using \Kendo\UI\GridGroupableSort
<?php
$groupable = new \Kendo\UI\GridGroupable();
$sort = new \Kendo\UI\GridGroupableSort();
$dir = 'value';
$sort->dir($dir);
$groupable->sort($sort);
?>
Example - using array
<?php
$groupable = new \Kendo\UI\GridGroupable();
$dir = 'value';
$groupable->sort(array('dir' => $dir));
?>