Skip to content

@eightkk/vue-weave / core / TimeBucketCell

Interface: TimeBucketCell ​

Defined in: src/core/timeBuckets.ts:121

One cell of a period table. Its status uses the loading states of windowedData, not TreeGrid statuses: convert it with treeGridCellsFromTimeBuckets (or treeGridCellContentFromTimeBucket) before passing it to TreeGrid.

Properties ​

carried? ​

optional carried?: boolean

Defined in: src/core/timeBuckets.ts:135

True when value was carried forward from an earlier bucket or item.


columnId ​

columnId: string

Defined in: src/core/timeBuckets.ts:124

The bucket's id.


count ​

count: number

Defined in: src/core/timeBuckets.ts:130

Number of items placed in the bucket.


denominator? ​

optional denominator?: number

Defined in: src/core/timeBuckets.ts:133


numerator? ​

optional numerator?: number

Defined in: src/core/timeBuckets.ts:132

Sums of numerators and denominators of a loaded ratio cell, for further roll-ups.


rowId ​

rowId: string

Defined in: src/core/timeBuckets.ts:122


status ​

status: WindowedCellStatus

Defined in: src/core/timeBuckets.ts:128

loaded (items were placed), loaded-empty (loaded, no items), or the not-loaded state.


value ​

value: number | null

Defined in: src/core/timeBuckets.ts:126

The aggregated value; null when the bucket is not loaded, or the rule gives no value (see aggregateTimeBuckets).

Released under the MIT License.