New to Kendo UI for Angular? Start a free 30-day trial

ColumnMenuPositionComponent

Represents the column-menu item which combines the lock and sticky column functionalities.

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-position component. See example.

<kendo-grid [data]="data" [columnMenu]="true" ...>
  <ng-template kendoGridColumnMenuTemplate let-service="service" let-column="column">
    <kendo-grid-columnmenu-position [service]="service" [showLock]="true" [showStick]="true">
    </kendo-grid-columnmenu-position>
  </ng-template>
</kendo-grid>

Selector

kendo-grid-columnmenu-position

Inputs

NameTypeDefaultDescription

expanded

boolean

false

Specifies if the content is expanded.

service

ColumnMenuService

Represents the ColumnMenuService class. Requires a mandatory input.

showLock

boolean

Specifies if the lock column item is displayed.

showStick

boolean

Specifies if the stick column item is displayed.

Events

NameTypeDescription

collapse

EventEmitter<any>

Fires when the content is collapsed.

expand

EventEmitter<any>

Fires when the content is expanded.

In this article

Not finding the help you need?