Type alias RowGroupExpanded<T>

RowGroupExpanded<T>: boolean | number | ((group) => boolean)

Which groups are expanded: all (true), none (false), the levels above a number (1 = the top level is open, its sub-groups are closed; 0 = all closed), or a function per group.

Type Parameters

  • T = any

Type declaration

    • (group): boolean
    • Parameters

      Returns boolean

Example

const onlyNorth: RowGroupExpanded<Sale> = group => group.path[0] === "Nord";

Since

1.1.94