\Kendo\UI\TreeListColumnSortable

A PHP class representing the sortable setting of TreeListColumn.

Methods

compare

A JavaScript function which is used to compare the values - should return -1 if first argument is less than second one, 0 if both are the same or +1 if the first one is greater than second one.

Returns

\Kendo\UI\TreeListColumnSortable

Parameters

$value \Kendo\JavaScriptFunction

Example

<?php
$sortable = new \Kendo\UI\TreeListColumnSortable();
$sortable->compare(new \Kendo\JavaScriptFunction('function() { }'));
?>
Is this article helpful? Yes / No
Thank you for your feedback!

Give article feedback

Tell us how we can improve this article

close
Dummy