<kendo:grid-groupable-sort>
Sets the sort configuration when grouping.
Example
<kendo:grid-groupable>
<kendo:grid-groupable-sort></kendo:grid-groupable-sort>
</kendo:grid-groupable>
Configuration Attributes
compare java.lang.String
A JavaScript function which is used to compare the groups (refer to sortable for sorting the items of the groups). It has the same signature as the compare function accepted by Array.sort.
Example
<kendo:grid-groupable-sort compare="compare">
</kendo:grid-groupable-sort>
dir java.lang.String
The sort order of the groups according to the group field.The supported values are: "asc" (ascending order) or "desc" (descending order).
Example
<kendo:grid-groupable-sort dir="dir">
</kendo:grid-groupable-sort>
Event Attributes
compare String
A JavaScript function which is used to compare the groups (refer to sortable for sorting the items of the groups). It has the same signature as the compare function accepted by Array.sort.
Example
<kendo:grid-groupable-sort compare="handle_compare">
</kendo:grid-groupable-sort>
<script>
function handle_compare(e) {
// Code to handle the compare event.
}
</script>
Event Tags
kendo:grid-groupable-sort-compare
A JavaScript function which is used to compare the groups (refer to sortable for sorting the items of the groups). It has the same signature as the compare function accepted by Array.sort.
Example
<kendo:grid-groupable-sort>
<kendo:grid-groupable-sort-compare>
<script>
function(e) {
// Code to handle the compare event.
}
</script>
</kendo:grid-groupable-sort-compare>
</kendo:grid-groupable-sort>