SortOptions 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
| Property | Description |
|---|---|
| caseSensitive | The caseSensitive value of SortOptions. |
| hasHeaders | The hasHeaders value of SortOptions. |
| keys | The 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 };