ITableMeasureHeaderValue
Alpha API. Initial API, highly likely to change outside SemVer. Don’t build on it in production.
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.
export interface ITableMeasureHeaderValue
Properties
Property | Modifiers | Type | Description |
|---|---|---|---|
(ALPHA) Column context - always a | |||
number | (ALPHA) Zero-based column position in the | ||
string | null | (ALPHA) Display name of the measure (e.g., “Sales”, “Revenue”). | ||
(ALPHA) Row context - can be only value row. | |||
number | (ALPHA) Zero-based row position in the | ||
“measureHeader” | (ALPHA) Discriminator literal for narrowing the | ||
(ALPHA) The raw |
Property details
ITableMeasureHeaderValue.columnDefinitionpropertyAlpha
Alpha API. Initial API, highly likely to change outside SemVer. Don’t build on it in production.
Column context - always a measureGroupHeader column.
columnDefinition: ITableMeasureGroupHeaderColumnDefinition;
ITableMeasureHeaderValue.columnIndexpropertyAlpha
Alpha API. Initial API, highly likely to change outside SemVer. Don’t build on it in production.
Zero-based column position in the data matrix.
columnIndex: number;
ITableMeasureHeaderValue.formattedValuepropertyAlpha
Alpha API. Initial API, highly likely to change outside SemVer. Don’t build on it in production.
Display name of the measure (e.g., “Sales”, “Revenue”).
formattedValue: string | null;
ITableMeasureHeaderValue.rowDefinitionpropertyAlpha
Alpha API. Initial API, highly likely to change outside SemVer. Don’t build on it in production.
Row context - can be only value row.
rowDefinition: ITableValueRowDefinition;
ITableMeasureHeaderValue.rowIndexpropertyAlpha
Alpha API. Initial API, highly likely to change outside SemVer. Don’t build on it in production.
Zero-based row position in the data matrix.
rowIndex: number;
ITableMeasureHeaderValue.typepropertyAlpha
Alpha API. Initial API, highly likely to change outside SemVer. Don’t build on it in production.
Discriminator literal for narrowing the ITableDataValue union.
type: "measureHeader";
ITableMeasureHeaderValue.valuepropertyAlpha
Alpha API. Initial API, highly likely to change outside SemVer. Don’t build on it in production.
The raw IResultMeasureHeader object.
value: IResultMeasureHeader;