ITableMeasureValue
Home > @gooddata/sdk-ui > ITableMeasureValue
ITableMeasureValue interface
This API is provided as an alpha preview for developers and may change based on feedback that we receive. Do not use this API in a production environment.
Numeric cell containing a **raw measure value** for regular (non-aggregated) row/column intersections.
**Visual examples:**
// Normal (measures in columns):
Country | Sales |
-----------+--------+
USA | 100 | <- 100 is value cell
// Transposed (measures in rows):
Country | | |
-----------+---------+-------+
USA | Sales | 100 | <- 100 is value cell
Signature:
export interface ITableMeasureValue
Properties
Property | Modifiers | Type | Description |
---|---|---|---|
columnDefinition | ITableValueColumnDefinition | ITableMeasureGroupValueColumnDefinition | (ALPHA) Column context - value column or measureGroupValue column. | |
columnIndex | number | (ALPHA) Zero-based column position in the data matrix. | |
formattedValue | string | null | (ALPHA) Human-readable formatted number ready for display (e.g., "$1,234.56"). Formatted using the measure's format string and respects locale settings. Null if the raw value is null/missing. | |
rowDefinition | ITableValueRowDefinition | ITableSubtotalRowDefinition | (ALPHA) Row context - value or subtotal row. | |
rowIndex | number | (ALPHA) Zero-based row position in the data matrix. | |
type | "value" | (ALPHA) Discriminator literal for narrowing the ITableDataValue union. | |
value | DataValue | (ALPHA) Raw numeric value from the backend execution response. Can be number, string, or null depending on the measure data. |