\Kendo\UI\GridColumnGroupable

A PHP class representing the groupable setting of GridColumn.

Methods

sort

Sets the sort configuration when grouping.

Returns

\Kendo\UI\GridColumnGroupable

Parameters

$value \Kendo\UI\GridColumnGroupableSort|array

Example - using \Kendo\UI\GridColumnGroupableSort

<?php
$groupable = new \Kendo\UI\GridColumnGroupable();
$sort = new \Kendo\UI\GridColumnGroupableSort();
$dir = 'value';
$sort->dir($dir);
$groupable->sort($sort);
?>

Example - using array

<?php
$groupable = new \Kendo\UI\GridColumnGroupable();
$dir = 'value';
$groupable->sort(array('dir' => $dir));
?>
In this article
Not finding the help you need?