\Kendo\UI\TreeListColumnSortable

A PHP class representing the sortable setting of TreeListColumn.

Methods

compare

A JavaScript function for comparing the values. If the first argument is less than the second one, returns -1.; If both arguments are the same, returns 0. or If the first argument is greater than the second one, returns +1..

Returns

\Kendo\UI\TreeListColumnSortable

Parameters

$value \Kendo\JavaScriptFunction

Example

<?php
$sortable = new \Kendo\UI\TreeListColumnSortable();
$sortable->compare(new \Kendo\JavaScriptFunction('function() { }'));
?>
In this article
Not finding the help you need?