Skip to content

Releases: jbetancur/react-data-table-component

v7.4.5

27 Oct 01:44
5e652b4
Compare
Choose a tag to compare

🥃 Features 🥃

  • #945 selectableRowsSingle should now work with selectableRowSelected, however if you have more than one match only the first match will be selected.

v7.4.4

11 Oct 16:42
5474649
Compare
Choose a tag to compare

🥃 Features 🥃

  • Expose ExpanderComponentProps TypeScript type. You can now:
type DataRow = {
....
};

const ExpandedComponent: React.FC<ExpanderComponentProps<DataRow>> = ({ data }) => {
	return <pre>{JSON.stringify(data, null, 2)}</pre>;
};

// or

function ExpandedComponent({ data }: ExpanderComponentProps<DataRow>): JSX.Element {
	return <pre>{JSON.stringify(data, null, 2)}</pre>;
}

v7.4.3

10 Oct 14:43
f4e6325
Compare
Choose a tag to compare

🐞 Fixes 🐞

  • #937 fixes TypeError: Attempting to change configurable attribute of unconfigurable on the data prop for certain use cases

v7.4.2

10 Oct 14:26
6dfba87
Compare
Choose a tag to compare

🐞 Fixes 🐞

  • #930 when using onSelectedRowsChange no longer causes infinite loop when updating table data within onSelectedRowsChange
  • #934 fixed expandableRowsComponent types

v7.4.1

06 Oct 02:38
Compare
Choose a tag to compare

🐞 Fixes 🐞

  • createTheme no longer requires an inherited theme

v7.4.0

06 Oct 02:26
2c89db7
Compare
Choose a tag to compare

🥃 Features 🥃

  • lodash.orderBy has been removed and replaced with native sorting. lodash was a bit heavy weight as a dependency (the bundle should be smaller now) and slower than native sort in some of our performance tests (basically negligible). If you want really miss the lodash.orderBy sorting behavior you can install lodash yourself and use sortFunction to re-implement orderBy.

🐞 Fixes 🐞

  • #933 when using createTheme you may now specify one of the default themes to inherit from. This is useful if you only need to tweak a thing or 2 in each theme. See the custom theming for more details

v7.3.1

25 Sep 20:32
56a169b
Compare
Choose a tag to compare

🐞 Fixes 🐞

  • #922 context menu should now be visible when selecting rows

v7.3.0

23 Sep 14:04
6060386
Compare
Choose a tag to compare

🥃 New Features 🥃

  • Column titles will now display a built in tooltip (using the title attribute) when a column is in a ellipses state
    • This will be negated when you pass a component into a column name.

🐞 Fixes 🐞

  • Fixes an issue where sort direction would default if data changes. Sort behavior should now be preserved
  • Fixes a spacing issue in columns titles

v7.2.1

22 Sep 20:31
e0ee263
Compare
Choose a tag to compare

🐞 Fixes 🐞

  • #919 No longer apply css styles when column.name is a component

v7.2.0

19 Sep 14:28
5de5ac3
Compare
Choose a tag to compare

🐞 Fixes 🐞

  • This releases fixes type inference where passing your Data type/interface was conflicting with an internal typing TableRow. This should no longer be the case.