\Kendo\UI\GridColumnGroupableSort
A PHP class representing the sort setting of GridColumnGroupable.
Methods
compare
A JavaScript function which is used to compare the groups (refer to sortable.compare for comparing the items of the groups). It has the same signature as the compare function accepted by Array.sort.
Returns
\Kendo\UI\GridColumnGroupableSort
Parameters
$value \Kendo\JavaScriptFunction
Example
<?php
$sort = new \Kendo\UI\GridColumnGroupableSort();
$sort->compare(new \Kendo\JavaScriptFunction('function() { }'));
?>
dir
The sort order of the groups according to the group field.The supported values are: "asc" (ascending order) or "desc" (descending order).
Returns
\Kendo\UI\GridColumnGroupableSort
Parameters
$value string
Example
<?php
$sort = new \Kendo\UI\GridColumnGroupableSort();
$sort->dir('value');
?>