New to Kendo UI for Angular? Start a free 30-day trial
SortCommandToolbarDirective
Represents the toolbar tool for sorting columns of the Grid.
You can apply this directive to any kendo-toolbar-button
element inside a
ToolbarComponent used in the Grid.
When the user clicks the toolbar button that is associated with the directive, the sort event is triggered.
html
<kendo-grid>
<kendo-toolbar>
<kendo-toolbar-button text="Sort" kendoGridSortTool></kendo-toolbar-button>
</kendo-toolbar>
</kendo-grid>
Selector
[kendoGridSortTool]