> Documentation index: https://www.gooddata.ai/docs/gooddata-ui/llms.txt lists every page of these docs as Markdown.

# ITableAttributeHeaderValue

- Package: [@gooddata/sdk-ui](https://www.gooddata.ai/docs/gooddata-ui/latest/api-reference/sdk-ui/index.md)
- Kind: interface
- Stability: alpha
- Source: https://github.com/gooddata/gooddata-ui-sdk/blob/rel/11.64/libs/sdk-ui/src/base/results/tableData/interfaces/cells.ts

> **Alpha API.** Initial API, highly likely to change outside SemVer. Don't build on it in production. See [API maturity](https://www.gooddata.ai/docs/gooddata-ui/latest/integrations/platform/api-maturity/index.md).
> 

Cell located in [ITableAttributeColumnDefinition](https://www.gooddata.ai/docs/gooddata-ui/latest/api-reference/sdk-ui/sdk-ui.itableattributecolumndefinition/index.md) – typically the leftmost part of the table describing the current row's attribute values.

It represents a single `IResultAttributeHeader` coming from the execution response and can be present in both value rows and subtotal rows.

\*\*Visual example\*\*

```tsx
 Attribute | Measure |
-----------+---------+
 USA       |  100    | <- "USA" is attributeHeader
```

**Signature:**

```typescript
export interface ITableAttributeHeaderValue 
```

## Properties

| Property | Modifiers | Type | Description |
| --- | --- | --- | --- |
| [columnDefinition](https://www.gooddata.ai/docs/gooddata-ui/latest/api-reference/sdk-ui/sdk-ui.itableattributeheadervalue/index.md#itableattributeheadervaluecolumndefinition) |  | [ITableAttributeColumnDefinition](https://www.gooddata.ai/docs/gooddata-ui/latest/api-reference/sdk-ui/sdk-ui.itableattributecolumndefinition/index.md) | **_(ALPHA)_** Full column context describing which attribute column this cell belongs to. Always an attribute column since this interface is for attribute headers. |
| [columnIndex](https://www.gooddata.ai/docs/gooddata-ui/latest/api-reference/sdk-ui/sdk-ui.itableattributeheadervalue/index.md#itableattributeheadervaluecolumnindex) |  | number | **_(ALPHA)_** Zero-based column position of this cell in the final `data` matrix. |
| [formattedValue](https://www.gooddata.ai/docs/gooddata-ui/latest/api-reference/sdk-ui/sdk-ui.itableattributeheadervalue/index.md#itableattributeheadervalueformattedvalue) |  | string \| null | **_(ALPHA)_** Attribute element value ready to be rendered. (e.g. "United States") |
| [rowDefinition](https://www.gooddata.ai/docs/gooddata-ui/latest/api-reference/sdk-ui/sdk-ui.itableattributeheadervalue/index.md#itableattributeheadervaluerowdefinition) |  | [ITableValueRowDefinition](https://www.gooddata.ai/docs/gooddata-ui/latest/api-reference/sdk-ui/sdk-ui.itablevaluerowdefinition/index.md) \| [ITableSubtotalRowDefinition](https://www.gooddata.ai/docs/gooddata-ui/latest/api-reference/sdk-ui/sdk-ui.itablesubtotalrowdefinition/index.md) | **_(ALPHA)_** Full row context describing which row this cell belongs to (value, subtotal, or grand-total row). |
| [rowIndex](https://www.gooddata.ai/docs/gooddata-ui/latest/api-reference/sdk-ui/sdk-ui.itableattributeheadervalue/index.md#itableattributeheadervaluerowindex) |  | number | **_(ALPHA)_** Zero-based row position of this cell in the final `data` matrix. |
| [type](https://www.gooddata.ai/docs/gooddata-ui/latest/api-reference/sdk-ui/sdk-ui.itableattributeheadervalue/index.md#itableattributeheadervaluetype) |  | "attributeHeader" | **_(ALPHA)_** Discriminator literal for narrowing the `ITableDataValue` union. |
| [value](https://www.gooddata.ai/docs/gooddata-ui/latest/api-reference/sdk-ui/sdk-ui.itableattributeheadervalue/index.md#itableattributeheadervaluevalue) |  | [IResultAttributeHeader](https://www.gooddata.ai/docs/gooddata-ui/latest/api-reference/sdk-model/sdk-model.iresultattributeheader/index.md) | **_(ALPHA)_** The raw `IResultAttributeHeader` object from the execution response. |

## Property details

### ITableAttributeHeaderValue.columnDefinition

> **Alpha API.** Initial API, highly likely to change outside SemVer. Don't build on it in production. See [API maturity](https://www.gooddata.ai/docs/gooddata-ui/latest/integrations/platform/api-maturity/index.md).
> 

Full column context describing which attribute column this cell belongs to. Always an attribute column since this interface is for attribute headers.

**Signature:**

```typescript
columnDefinition: ITableAttributeColumnDefinition;
```

### ITableAttributeHeaderValue.columnIndex

> **Alpha API.** Initial API, highly likely to change outside SemVer. Don't build on it in production. See [API maturity](https://www.gooddata.ai/docs/gooddata-ui/latest/integrations/platform/api-maturity/index.md).
> 

Zero-based column position of this cell in the final `data` matrix.

**Signature:**

```typescript
columnIndex: number;
```

### ITableAttributeHeaderValue.formattedValue

> **Alpha API.** Initial API, highly likely to change outside SemVer. Don't build on it in production. See [API maturity](https://www.gooddata.ai/docs/gooddata-ui/latest/integrations/platform/api-maturity/index.md).
> 

Attribute element value ready to be rendered. (e.g. "United States")

**Signature:**

```typescript
formattedValue: string | null;
```

### ITableAttributeHeaderValue.rowDefinition

> **Alpha API.** Initial API, highly likely to change outside SemVer. Don't build on it in production. See [API maturity](https://www.gooddata.ai/docs/gooddata-ui/latest/integrations/platform/api-maturity/index.md).
> 

Full row context describing which row this cell belongs to (value, subtotal, or grand-total row).

**Signature:**

```typescript
rowDefinition: ITableValueRowDefinition | ITableSubtotalRowDefinition;
```

### ITableAttributeHeaderValue.rowIndex

> **Alpha API.** Initial API, highly likely to change outside SemVer. Don't build on it in production. See [API maturity](https://www.gooddata.ai/docs/gooddata-ui/latest/integrations/platform/api-maturity/index.md).
> 

Zero-based row position of this cell in the final `data` matrix.

**Signature:**

```typescript
rowIndex: number;
```

### ITableAttributeHeaderValue.type

> **Alpha API.** Initial API, highly likely to change outside SemVer. Don't build on it in production. See [API maturity](https://www.gooddata.ai/docs/gooddata-ui/latest/integrations/platform/api-maturity/index.md).
> 

Discriminator literal for narrowing the `ITableDataValue` union.

**Signature:**

```typescript
type: "attributeHeader";
```

### ITableAttributeHeaderValue.value

> **Alpha API.** Initial API, highly likely to change outside SemVer. Don't build on it in production. See [API maturity](https://www.gooddata.ai/docs/gooddata-ui/latest/integrations/platform/api-maturity/index.md).
> 

The raw `IResultAttributeHeader` object from the execution response.

**Signature:**

```typescript
value: IResultAttributeHeader;
```
