@progress/kendo-react-grid
Version:
KendoReact Grid package
30 lines (29 loc) • 901 B
TypeScript
/// <reference types="react" />
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: React.SyntheticEvent<any>) => void;
}