Releases: jbetancur/react-data-table-component
Releases · jbetancur/react-data-table-component
7.0.0-alpha-15
🔧 Fixes 🔧
- #497 allow de-selection of rows when using
selectableRowsSingle
7.0.0-alpha-14
🥃 🥃 New Features 🥃 🥃
- #497 single row selection feature is now available via a new prop
selectableRowsSingle. If you want to change the built in checkbox to a radio button you can passselectableRowsComponentProps={{ type: 'radio' }}or pass in your own custom/ui library Radio button using bothselectableRowsComponentandselectableRowsComponentProps
7.0.0-alpha-13
🔥 🔥 🔥 BREAKING CHANGES 🔥 🔥 🔥
- #818
expandableRowsComponentno longer accepts JSX and must now be passed in as a function/class. e.g:
GOOD:
expandableRowsComponent={MyExpander}
BAD:
expandableRowsComponent={<MyExpander />}
Features
- #818 added a new prop:
expandableRowsComponentPropsnow allows you to pass extra props to your customexpandableRowsComponent.
Documentation
- #817 Fix typos in README, remove unnescessary gitattribute
7.0.0-alpha-11
Fixes
- #809 fixed typings for component related props
7.0.0-alpha-10
- #785 fixes pagination select dropdown icon which was overlapping on larger numbers (e.g. 100, 1000 etc)
- #793 fixes double horizontal bar in some browsers. Thanks @HoangNguyen17193
7.0.0-alpha-8
Fixes
- Update Peer Dependencies to support React 17
Installation
npm install react-data-table-component@next
or
yarn add react-data-table-component@next
v6.11.7
7.0.0-alpha-7
Fixes
- #780 column centering show now work for both cells and cols
7.0.0-alpha-6
🔥 Breaking Changes 🔥
sortFunctionprop signature has changed, This was necessary because RDT is moving to function only selectors which are more flexible and performant. Additionally, this allows the API user greater control over how they sort. See the README for details Custom Sort Function.
Fixes
- Cleanup of stale sorting logic and CSS styles
- #612 and #699 The TableHeadRow is no longer disabled when in a loading state. Instead, each TableCol is disabled from sorting
- #772 fixes a potential performance issue with large data sets and
conditionalCellsand `conditionalRows1 - #775
sortServershould now disable internal sorting as it did in v6
Deprecation
- #770 string selectors will display a console warning on non prod builds recommended you migrate to function selectors. This change is rather painless:
selector: 'name'becomesselector: row => row.name. This not only allows for typing but also no longer requires an expensive regex/reduce function to loop through a row to "get' the prop
7.0.0-alpha-5
- implements #756
- fixes initial row rendering