ITableMeasureHeaderValue
Home > @gooddata/sdk-ui > ITableMeasureHeaderValue
ITableMeasureHeaderValue 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.
Cell inside the ITableMeasureGroupHeaderColumnDefinition. Appears **only when measures are transposed into rows**. Each cell corresponds to one IResultMeasureHeader
and labels the measure for that specific row.
**Visual example**
Attribute | Measure | Value |
-----------+---------+-------+
USA | Sales | 100 | <- "Sales" is measureHeader
USA | Cost | 80 | <- "Cost" is measureHeader
The "Sales" and "Cost" **names** in the "Measure" column are measureHeader
cells. The numeric values (100, 80) are regular value
cells.
**When measures are in columns (no transposition), this interface is NOT used.** Instead, measure names appear as regular column headers in the table structure.
Signature:
export interface ITableMeasureHeaderValue
Properties
Property | Modifiers | Type | Description |
---|---|---|---|
columnDefinition | ITableMeasureGroupHeaderColumnDefinition | (ALPHA) Column context - always a measureGroupHeader column. | |
columnIndex | number | (ALPHA) Zero-based column position in the data matrix. | |
formattedValue | string | null | (ALPHA) Display name of the measure (e.g., "Sales", "Revenue"). | |
rowDefinition | ITableValueRowDefinition | (ALPHA) Row context - can be only value row. | |
rowIndex | number | (ALPHA) Zero-based row position in the data matrix. | |
type | "measureHeader" | (ALPHA) Discriminator literal for narrowing the ITableDataValue union. | |
value | IResultMeasureHeader | (ALPHA) The raw IResultMeasureHeader object. |