@progress/kendo-vue-grid
Version:
49 lines (48 loc) • 1.73 kB
TypeScript
/**
* @license
*-------------------------------------------------------------------------------------------
* Copyright © 2026 Progress Software Corporation. All rights reserved.
* Licensed under commercial license. See LICENSE.md in the package root for more information
*-------------------------------------------------------------------------------------------
*/
import { SVGIcon } from '@progress/kendo-vue-common';
import { GridColumnMenuFilterBaseProps } from './GridColumnMenuFilterBaseProps';
import { GridColumnMenuSortBaseProps } from './GridColumnMenuSortBaseProps';
import { SortDescriptor } from '@progress/kendo-data-query';
/**
* The props which the ColumnMenu passes to its children.
*/
export interface GridColumnMenuProps extends GridColumnMenuFilterBaseProps, GridColumnMenuSortBaseProps {
/**
* The key of the column menu.
*/
key?: any;
/**
* The method for rendering the column menu.
*/
render?: any;
/**
* The opened column menu.
*/
opened?: boolean;
/**
* The icon that overrides the default(three vertical dots) icon displayed in the column menu of each column.
*/
columnMenuIcon?: SVGIcon;
/**
* The event that is fired when the column menu is focused.
*/
onContentfocus?: (event: any) => void;
/**
* The event that is fired when the column menu is expanded or collapsed.
*/
onExpandchange?: (event: any) => void;
/**
* The event that is fired when the column menu is closed.
*/
onClose?: (event: any) => void;
/**
* The event that is fired when the column menu is about to be sorted.
*/
onSortchange?: (event: any, sort: SortDescriptor[]) => void;
}