@progress/kendo-angular-grid
Version:
Kendo UI Grid for Angular - high performance data grid with paging, filtering, virtualization, CRUD, and more.
59 lines (58 loc) • 2.56 kB
TypeScript
/**-----------------------------------------------------------------------------------------
* Copyright © 2026 Progress Software Corporation. All rights reserved.
* Licensed under commercial license. See LICENSE.md in the project root for more information
*-------------------------------------------------------------------------------------------*/
import { ExpandableColumnMenuItem } from "./column-menu-expandable-item.interface";
/**
* Represents the settings for the column menu in the Grid component.
*
* Use this interface to configure the column menu options.
*
* @example
* ```html
* <kendo-grid [columnMenu]="{ lock: true, filter: false }">
* </kendo-grid>
* ```
*/
export interface ColumnMenuSettings {
/**
* Specifies the interface of the column menu content.
*/
view?: 'list' | 'tabbed';
/**
* Specifies if the columns can be sorted in the column menu.
* If [sorting](https://www.telerik.com/kendo-angular-ui/components/grid/api/gridcomponent#sortable) is enabled, defaults to `true`.
*/
sort?: boolean;
/**
* Specifies if the columns can be filtered in the column menu.
* If [filtering](https://www.telerik.com/kendo-angular-ui/components/grid/api/gridcomponent#filterable) is enabled, defaults to `true`.
*/
filter?: boolean | ExpandableColumnMenuItem;
/**
* Specifies if the item for column selection appears in the column menu.
*/
columnChooser?: boolean | ExpandableColumnMenuItem;
/**
* Specifies if the columns can be locked and unlocked from the column menu.
* This option follows the prerequisites and limitations of the [locked columns](https://www.telerik.com/kendo-angular-ui/components/grid/columns/locked).
*/
lock?: boolean;
/**
* Specifies if the columns can be stuck and unstuck from the column menu.
* This option follows the prerequisites and limitations of the [sticky columns](https://www.telerik.com/kendo-angular-ui/components/grid/columns/sticky).
*/
stick?: boolean;
/**
* Specifies whether the stick and lock items appear in an expandable sub-menu or as standalone root-level menu items.
*/
setColumnPosition?: boolean | ExpandableColumnMenuItem;
/**
* Applies the minimum possible width for the specified column, so that the whole text fits without wrapping.
*/
autoSizeColumn?: boolean;
/**
* Adjusts the width of all columns to fit their entire content, including headers, without wrapping.
*/
autoSizeAllColumns?: boolean;
}