Persist column sorting

This commit is contained in:
Laurent Nguyen
2024-08-23 08:21:40 +02:00
parent 2397283649
commit b1d9570a95
3 changed files with 50 additions and 16 deletions

View File

@@ -12,12 +12,15 @@ export enum SubComponentName {
FilterHistory = "FilterHistory",
MainTabDivider = "MainTabDivider",
ColumnsSelection = "ColumnsSelection",
ColumnSort = "ColumnSort",
}
export type ColumnSizesMap = { [columnId: string]: WidthDefinition };
export type FilterHistory = string[];
export type WidthDefinition = { idealWidth?: number; minWidth?: number };
export type TabDivider = { leftPaneWidthPercent: number };
export type ColumnsSelection = { selectedColumnIds: string[] };
export type ColumnsSelection = string[];
export type ColumnSort = { columnId: string; direction: "ascending" | "descending" };
/**
*