API reference: @salmonui/data-grid/engine
GroupDescriptorinterface
import type { GroupDescriptor } from '@salmonui/data-grid/engine';Also exported from @salmonui/data-grid.
interface GroupDescriptor {
readonly columnId: ColumnId;
readonly format?: string;
readonly direction?: 'asc' | 'desc';
}
| Name | Signature | Description |
|---|---|---|
columnId | readonly columnId: ColumnId; | |
formatoptional | readonly format?: string; | Group-by-format: a number or date format ( |
directionoptional | readonly direction?: 'asc' | 'desc'; | Group order when the sort list has no descriptor for the column. Default |