New to Kendo UI for Angular? Start a free 30-day trial
ColumnMenuChooserComponent
Represents the column-menu item for selecting columns in the Grid. 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-chooser
component. See example.
html
<kendo-grid [columnMenu]="true" ...>
<ng-template kendoGridColumnMenuTemplate let-service="service">
<kendo-grid-columnmenu-chooser [service]="service"> </kendo-grid-columnmenu-chooser>
</ng-template>
</kendo-grid>
Selector
kendo-grid-columnmenu-chooser
Inputs
Name | Type | Default | Description |
---|---|---|---|
expanded |
|
|
Specifies if the content is expanded. |
service |
|
Represents the ColumnMenuService class. Requires a mandatory input. |
Events
Name | Type | Description |
---|---|---|
collapse |
|
Fires when the content is collapsed. |
expand |
|
Fires when the content is expanded. |