Lumagrid
    Preparing search index...

    Variable groupByConst

    groupBy: (
        field: string,
        valueField?: string,
    ) => ChainableTransform<GroupByOptions> = ...

    Groups rows by a field and produces both a flat grouped representation and a two-level hierarchy (root → group children).

    groupBy is a factory: call it, then use the returned transform. Options passed at transform time override the factory arguments.

    Type Declaration

    const out = groupBy('category').transform(data);