kapom-report - v0.1.2
    Preparing search index...

    Interface SegmentState

    State that flows across segments (groups) — 'continuous' mode reads/accumulates through this A grouped table builds this once, then passes it into resolveSegmentBody for each group, in render order.

    interface SegmentState {
        rowOffset: number;
        runningTotals: (Decimalish | undefined)[];
    }
    Index
    rowOffset: number

    number of rows already resolved before this segment (the base for continuous rowNumber)

    runningTotals: (Decimalish | undefined)[]

    running total per column index (continuous runningTotal)