@progress/kendo-react-grid
Version:
KendoReact Grid package
64 lines (63 loc) • 1.35 kB
TypeScript
/**
* The settings for sorting the Grid columns.
*/
export declare type GridColumnSortSettings = boolean | {
/**
* Enables the removal of the column sorting functionality.
*/
allowUnsort?: boolean;
};
/**
* The settings for sorting the Grid data.
*/
export declare type GridSortSettings = boolean | GridColumnSortSettings & {
/**
* The sort mode of the Grid.
*
* The available modes are:
* - `single`
* - `multiple`
*/
mode?: 'single' | 'multiple';
};
/**
* @hidden
*/
export declare const normalize: (...settings: (boolean | {
/**
* Enables the removal of the column sorting functionality.
*/
allowUnsort?: boolean;
} | (true & {
/**
* The sort mode of the Grid.
*
* The available modes are:
* - `single`
* - `multiple`
*/
mode?: "multiple" | "single";
}) | (false & {
/**
* The sort mode of the Grid.
*
* The available modes are:
* - `single`
* - `multiple`
*/
mode?: "multiple" | "single";
}) | ({
/**
* Enables the removal of the column sorting functionality.
*/
allowUnsort?: boolean;
} & {
/**
* The sort mode of the Grid.
*
* The available modes are:
* - `single`
* - `multiple`
*/
mode?: "multiple" | "single";
}))[]) => any;