---
id: "packages/active-grid/api/context"
title: "GridDefaults"
description: "GridDefaults, GridDefaultsProps: generated from the source of active-grid."
url: "/packages/active-grid/api/context"
locale: "en"
revision: "g0mvjxwj5c-88bdbe1c:context"
---

# GridDefaults

Exported by `@workspace/active-grid`. Generated from the package source; part of [the index of every export](/packages/active-grid/api).

## `GridDefaults`

| Prop | Type | Required | Description |
| --- | --- | --- | --- |
| `children` | `ReactNode` | yes |  |
| `behavior` | `Partial<GridBehaviorConfig>` | no |  |
| `columns` | `Partial<GridColumnConfig>` | no |  |
| `diagnostics` | `GridDiagnosticSink` | no | Where every grid below delivers its diagnostics (failed fetches, refused edits, persistence and virtualization notices). Replaced whole by a nearer boundary. Without one, warnings and errors go to the console and debug notices are dropped. |
| `export` | `Partial<GridExportConfig>` | no |  |
| `features` | `Partial<GridFeaturesConfig>` | no |  |
| `filtering` | `Partial<GridFilteringConfig>` | no |  |
| `layout` | `Partial<GridLayoutConfig>` | no |  |
| `locale` | `ValuePresentation` | no | The presentation every grid below inherits: a language code, or a presentation context. Replaced whole by a nearer boundary or a grid's own `locale` prop. |
| `pagination` | `Partial<GridPaginationDefaults>` | no |  |
| `storage` | `Partial<GridStorageConfig>` | no |  |
| `t` | `GridTranslateFunction` | no | The translator every grid below inherits. Replaced whole by a nearer boundary or a grid's own `t` prop. The package never supplies one itself; `englishGridTranslator` is the package's English, passed on purpose. |
| `ui` | `Partial<ActiveGridUIConfig>` | no |  |

## Types

**GridDefaultsProps**

```ts
interface GridDefaultsProps extends PartialGridConfig {
  locale?: GridPresentation;
  t?: GridTranslateFunction;
  diagnostics?: GridDiagnosticSink;
  children: React.ReactNode;
}
```
