# GridDetailPanelProps

Props for the GridDetailPanel component.

## Properties

| Property | Type | Description |
| -------- | ---- | ----------- |
| `children` | <code>(ctx: <a href="/grid/react/api/types/detailpanelcontext/">DetailPanelContext</a>&lt;TRow&gt;) =&gt; ReactNode</code> | Render function for the detail panel content. Receives the row data and row index. |
| `showExpandColumn?` | <code>boolean</code> | Whether to show the expand/collapse column. |
| `animation?` | <code>false &#124; slide &#124; fade</code> | Animation style for expand/collapse. - 'slide': Smooth height animation (default) - 'fade': Opacity transition - false: No animation |

### Property Details

#### children

```tsx
<GridDetailPanel>
  {({ row }) => <EmployeeDetails employee={row} />}
</GridDetailPanel>
```

---

#### showExpandColumn

**Default:** `true`

---

#### animation

**Default:** `'slide'`

---
