/** * @license *------------------------------------------------------------------------------------------- * Copyright © 2026 Progress Software Corporation. All rights reserved. * Licensed under commercial license. See LICENSE.md in the package root for more information *------------------------------------------------------------------------------------------- */ import { SortDescriptor } from '@progress/kendo-data-query'; import { GridSortSettings } from './GridSortSettings'; import { GridColumnMenuColumnProps } from './GridColumnMenuColumnProps'; /** * The props passed to the ColumnMenu sort component. */ export interface GridColumnMenuSortBaseProps { /** * The current column options. */ column: GridColumnMenuColumnProps; /** * The method that will be called to close the column menu. */ onClosemenu?: Function; /** * The sortable option of the column. */ sortable?: GridSortSettings; /** * The current sort state of the Grid. */ sort?: SortDescriptor[]; /** * The method that will be called to notify the parent Grid about a sort change. */ onSortchange?: (descriptors: SortDescriptor[], e: any) => void; }