Skip to content

Releases: jbetancur/react-data-table-component

v6.10.0

02 Aug 16:36
851cf2e
Compare
Choose a tag to compare

Features

Fixes/ Potentially Breaking with Typescript is you previously used IDataTableProps

  • If you are importing RDT typescript interfaces such as IDataTableProps, they will no longer require you to pass any arguments as and you can just set the type to IDataTableProps. This better supports a common pattern where you may want to set default props on your table and pass through the props using a wrapping component:
const DBase: React.FC<IDataTableProps> = props => (
   <DataData {...props} dense />
)

v6.9.8

26 Jul 15:27
Compare
Choose a tag to compare

Fixes

  • #637 on some browsers border-radius (e.g. a bordered card/paper) was being ignored on the table
  • #622 thanks to @hajnalbendeguz typings improved typings for onRowClicked and onRowDoubleClicked

v6.9.7

14 Jul 16:20
Compare
Choose a tag to compare

This is a license change from MIT to Apache-2.0.

v6.9.6

05 Jul 00:32
Compare
Choose a tag to compare

Typings

  • #596 add typing for column.id

v6.9.5

05 Jul 00:12
02c88fb
Compare
Choose a tag to compare

Fixes

  • #615 Fixes issue where overflow/wrapping CSS was being applied to custom cells when using columns[].cell. In any case, RDT will no longer apply any CSS to a custom cell. Pro tip: If using columns[].cell and your intention is to add a button or clickable element make sure you add button: true to your column definition
  • #61 Accessibility. Add the missing role for rowheader

v6.9.3

28 May 14:39
44c82db
Compare
Choose a tag to compare

Features

  • #556 You can now specify a custom sort function on a column using column[x].sortFunction Thank you @ondratra

Fixes

  • #587 use rowCount instead of data.length for pagination. Thanks @jpuckety

v6.9.2

19 May 12:37
8d85692
Compare
Choose a tag to compare

Fixes

  • #574 Fixed pagination disappearing in certain browsers. This was caused when a flex element wrapped DataTable.

Performance

  • Slight optimization to prevent columns from re-rendering on any state change

v6.9.1

01 May 01:18
e80d3bc
Compare
Choose a tag to compare

Fixes

  • #565 paginationServerOptions is no longer required when using typescript

v6.9.0

27 Apr 04:14
Compare
Choose a tag to compare

Features

  • #524 - when using paginationServer and selectableRows when you sort or page the selected row state will clear by default. From a UX perspective, this is the recommended default for most use cases. However, there may be cases where you will need to override this behavior. Thanks to @MaxInertia's open-source contribution you can now override with a new prop paginationServerOptions: {persistSelectedOnPageChange | persistSelectedOnSort}.

v6.8.0

23 Apr 01:28
2606628
Compare
Choose a tag to compare

Features & Fixes

  • #500 Built-in Pagination Component
    • fix an issue where pagination would disappear when zooming in/out or would not display at all in Firefox
    • add responsive pagination when the screen width is less than 599px
    • Fixes to disabled button theme contrast