Represents the Kendo UI TreeList column-menu item for resizing all columns to fit the widest header or cell content without wrapping. See example.
Place this component inside a ColumnMenuTemplate directive to enable the feature.
Register the component as a known column menu item by setting the ColumnMenuService to the service input. See example.
Definition
Package:@progress/kendo-angular-treelist
Selector:kendo-treelist-columnmenu-autosize-all-columns
Syntax:
html
<kendo-treelist [columnMenu]="true" ...>
<ng-template kendoTreeListColumnMenuTemplate let-service="service">
<kendo-treelist-columnmenu-autosize-all-columns [service]="service">
</kendo-treelist-columnmenu-autosize-all-columns>
</ng-template>
</kendo-treelist>
Inputs
Represents the ColumnMenuService instance.
Requires a mandatory input.
Methods
Resizes all columns to the minimum possible width so that they fit the widest header or cell content without wrapping.