New to Kendo UI for Angular? Start a free 30-day trial
ColumnMenuSortComponent
Represents the column-menu item for sorting Grid columns. See example.
The component can be placed inside a ColumnMenuTemplate directive.
To register the component as a known column menu item, set the ColumnMenuService that is passed by
the template to the service input of the kendo-grid-columnmenu-sort
component. See example.
You have to set the ColumnMenuService that is passed by
the template to the service input of the kendo-grid-columnmenu-sort
component.
html
<kendo-grid [kendoGridBinding]="data" [sortable]="true" [columnMenu]="true">
<ng-template kendoGridColumnMenuTemplate let-service="service">
<kendo-grid-columnmenu-sort [service]="service">
</kendo-grid-columnmenu-sort>
</ng-template>
</kendo-grid>
Selector
kendo-grid-columnmenu-sort
Inputs
Name | Type | Default | Description |
---|---|---|---|
service |
|
Represents the ColumnMenuService class. Requires a mandatory input. |