Files
new-api/web/default
DawnMoon1542 dc9aeab98b fix(data-table): update table body immediately when toggling columns (#6253)
DataTableRow's React.memo did not depend on columnVisibility.
TanStack row references stay stable when visible columns change, so the
table body did not refresh after View -> Toggle columns until another
action rebuilt the column definitions.

Capture a visible column id signature (visibleColumnIds) outside the
memo and compare it, matching the existing isSelected snapshot pattern.
All tables that use DataTableRow pick up the fix.
2026-07-17 19:38:16 +08:00
..