@progress/kendo-react-grid
Version:
React Data Grid (Table) provides 100+ ready-to-use data grid features. KendoReact Grid package
28 lines (27 loc) • 1.2 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 { SortDescriptor } from '@progress/kendo-data-query';
import { GridSortSettings } from './GridSortSettings.js';
import { GridColumnMenuBaseProps } from './GridColumnMenuBaseProps.js';
/**
* The props passed to the ColumnMenu sort component.
*/
export interface GridColumnMenuSortBaseProps extends GridColumnMenuBaseProps {
/**
* The sortable option of the column.
*/
sortable?: GridSortSettings;
/**
* The current sort state of the Grid. It takes a value of type [SortDescriptor](https://www.telerik.com/kendo-react-ui/components/datatools/api/sortdescriptor)[]
*/
sort?: SortDescriptor[];
/**
* The method that will be called to notify the parent Grid about a sort change.
*/
onSortChange?: (descriptors: SortDescriptor[], e: React.SyntheticEvent<any>) => void;
}