Skip to content

PivotSortConfig

Configuration for sorting pivot row groups.

PropertyTypeDescription
by?label | valueSort by 'label' (group name) or 'value' (aggregate value). Default: 'label'
direction?PivotSortDirSort direction. Default: 'asc'
valueField?stringWhen by: 'value', which value field to sort by (defaults to first value field).
AI assistants: For complete API documentation, implementation guides, and code examples for this library, see https://raw.githubusercontent.com/OysteinAmundsen/toolbox/main/llms-full.txt