# Source: https://mui.com/x/api/data-grid/grid-render-context.md

# GridRenderContext API

## Import

```jsx
import { GridRenderContext } from '@mui/x-data-grid-premium'
// or
import { GridRenderContext } from '@mui/x-data-grid-pro'
// or
import { GridRenderContext } from '@mui/x-data-grid'
```

## Props

| Name | Type | Default | Required | Description |
|------|------|---------|----------|-------------|
| firstColumnIndex | `number` | - | Yes |  |
| firstRowIndex | `number` | - | Yes |  |
| lastColumnIndex | `number` | - | Yes |  |
| lastRowIndex | `number` | - | Yes |  |

> **Note**: The `ref` is forwarded to the root element.