Releases: table-library/react-table-library
Releases · table-library/react-table-library
v4.0.5
v4.0.4
v4.0.3
v4.0.2
v4.0.1
v4.0.0
4.0.0 (2022-06-28)
- new Virtualized component for opt-in virtualization (see FEATURES/Virtualized)
- table elements (e.g.
table
,td
,th
) instead of div elements, but they can be transformed as div elements by usinglayout={{ isDiv: true }}
(see MISC/Table story)
BREAKING CHANGES
- The main things that have changed:
- layout via
--data-table-library_grid-template-columns
(everything acceptable what a CSSgrid-template-columns
property would accept) onTable
property when usinguseTheme()
instead of width/min-width on eachBaseCell
(see FEATURES/Layout stories) - less internal styling (padding, margin, etc.), it should be done by individual theming instead (see FEATURES/Theme)
- hide feature:
hideKey: string
becamehide: boolean
on each HeaderCell/Cell,hiddenColumns
inlayout
not necessary anymore - fixed header feature:
layout={{ fixedHeader: true }}
- controlled layout:
layout={{ resizedLayout: string }}
andlayout={{ onLayoutChange: (gridTemplateColumns: string) => void }}
instead of usingstring[]