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.

<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

NameTypeDefaultDescription

service

ColumnMenuService

Represents the ColumnMenuService class. Requires a mandatory input.

In this article

Not finding the help you need?