GridDetailPanelProps
Props for the GridDetailPanel component.
Properties
Section titled “Properties”| Property | Type | Description |
|---|---|---|
children | (ctx: DetailPanelContext<TRow>) => ReactNode | Render function for the detail panel content. Receives the row data and row index. |
showExpandColumn? | boolean | Whether to show the expand/collapse column. |
animation? | false | slide | fade | Animation style for expand/collapse. - ‘slide’: Smooth height animation (default) - ‘fade’: Opacity transition - false: No animation |
Property Details
Section titled “Property Details”children
Section titled “children”<GridDetailPanel> {({ row }) => <EmployeeDetails employee={row} />}</GridDetailPanel>showExpandColumn
Section titled “showExpandColumn”Default: true
animation
Section titled “animation”Default: 'slide'
AI assistants: For complete API documentation, implementation guides, and code examples for this library, see https://raw.githubusercontent.com/OysteinAmundsen/toolbox/main/llms-full.txt