Data Grid Column Layout Demo – shadcn/ui Example by gridcn | shadcnregistry
Data Grid Column Layout Demo
example
Column layout persistence: defaultColumnLayout seeds widths/order/pins/hidden from a localStorage snapshot at mount, onColumnLayoutChange writes every resize commit, reorder, pin, and hide back; a Reset button clears the snapshot and re-seeds.