RowGroupOrder:"asc" | "desc" | "insertion" | ((a, b) => number)
The order of the groups of one level: ascending ("asc", the default), descending, in the order the keys first
appear in the rows ("insertion"), or an own comparison of two keys. Empty keys (null, undefined, "") are
always last.
Type declaration
(a, b): number
Parameters
a: unknown
b: unknown
Returns number
Example
constmonths: RowGroupOrder = (a, b) =>MONTHS.indexOf(aasstring) - MONTHS.indexOf(basstring);
The order of the groups of one level: ascending (
"asc", the default), descending, in the order the keys first appear in the rows ("insertion"), or an own comparison of two keys. Empty keys (null,undefined,"") are always last.