TX Sheet Control

SortOptions Interface

Interface

Sort keys use zero-based worksheet columns or column letters; defaults to ascending with headers.

Package: @txtextcontrol/tx-sheet-control. Version: 2.0.0.

Type-only declaration; it is not a JavaScript runtime constructor.

Members

Properties

PropertyDescription
caseSensitiveThe caseSensitive value of SortOptions.
hasHeadersThe hasHeaders value of SortOptions.
keysThe keys value of SortOptions.

Examples

Configure SortOptions for an invoice or sales-report workflow. Supply font and document resources from the application where the example accepts them as inputs.

import type { SortOptions } from '@txtextcontrol/tx-sheet-control';

const sortSettings: SortOptions = { keys: [{ column: 'B', order: 'descending' }], hasHeaders: true };

See Also