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.
html
<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
Name | Type | Default | Description |
---|---|---|---|
expanded |
|
|
Specifies if the content is expanded. |
service |
|
Represents the ColumnMenuService class. Requires a mandatory input. | |
showLock |
|
Specifies if the lock column item is displayed. | |
showStick |
|
Specifies if the stick column item is displayed. |
Events
Name | Type | Description |
---|---|---|
collapse |
|
Fires when the content is collapsed. |
expand |
|
Fires when the content is expanded. |