<kendo:gantt-column-sortable>
If set to true the user could sort this column by clicking its header cells. By default sorting is disabled.
Example
<kendo:gantt-column>
<kendo:gantt-column-sortable></kendo:gantt-column-sortable>
</kendo:gantt-column>
Configuration Attributes
compare java.lang.String
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..
Example
<kendo:gantt-column-sortable compare="compare">
</kendo:gantt-column-sortable>
Event Attributes
compare String
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..
Example
<kendo:gantt-column-sortable compare="handle_compare">
</kendo:gantt-column-sortable>
<script>
function handle_compare(e) {
// Code to handle the compare event.
}
</script>
Event Tags
kendo:gantt-column-sortable-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..
Example
<kendo:gantt-column-sortable>
<kendo:gantt-column-sortable-compare>
<script>
function(e) {
// Code to handle the compare event.
}
</script>
</kendo:gantt-column-sortable-compare>
</kendo:gantt-column-sortable>