UNPKG

@progress/kendo-angular-gantt

Version:
43 lines (42 loc) 1.28 kB
/**----------------------------------------------------------------------------------------- * Copyright © 2025 Progress Software Corporation. All rights reserved. * Licensed under commercial license. See LICENSE.md in the project root for more information *-------------------------------------------------------------------------------------------*/ /** * Defines the settings for sorting a Gantt column. */ export type ColumnSortSettings = boolean | { /** * Enables removing the column sorting. */ allowUnsort?: boolean; /** * Sets the initial sort direction from the unsorted to the sorted state. * * The available values are: * - `asc` (default) * - `desc` */ initialDirection?: 'asc' | 'desc'; }; /** * Defines the settings for sorting the Gantt. */ export type SortSettings = boolean | ColumnSortSettings & { /** * Sets the sort mode of the Gantt. * * The available values are: * - `single` * - `multiple` */ mode?: 'single' | 'multiple'; /** * Enables the sort-sequence indicators for sorting multiple columns. */ showIndexes?: boolean; }; /** * @hidden */ export declare const normalize: (...settings: (SortSettings | ColumnSortSettings)[]) => any;