Skip to content

GridDetailPanelProps

Props for the GridDetailPanel component.

PropertyTypeDescription
children(ctx: DetailPanelContext<TRow>) => ReactNodeRender function for the detail panel content. Receives the row data and row index.
showExpandColumn?booleanWhether to show the expand/collapse column.
animation?false | slide | fadeAnimation style for expand/collapse. - ‘slide’: Smooth height animation (default) - ‘fade’: Opacity transition - false: No animation
<GridDetailPanel>
{({ row }) => <EmployeeDetails employee={row} />}
</GridDetailPanel>

Default: true


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