# GridDataAttr

> _Since v0.1.1_

Data attribute names used on grid elements.
Use these when getting/setting data attributes.

Union of all `data-*` attribute names used on grid elements.
Use `GridDataAttrs` to access individual values by key.

```ts
type GridDataAttr = typeof GridDataAttrs[keyof typeof GridDataAttrs]
```

## Runtime Values

Use `GridDataAttrs` to reference these values from runtime code:

```ts
const GridDataAttrs = {
  FIELD: 'data-field',
  GROUP_KEY: 'data-group-key',
} as const;
```

| Key | Value |
| --- | ----- |
| `FIELD` | `'data-field'` |
| `GROUP_KEY` | `'data-group-key'` |
