Skip to content

Releases: gregnb/mui-datatables

Version 3.6.0

26 Oct 03:42
Compare
Choose a tag to compare
  • Added ability to disable toolbar buttons. Thanks to @natac13 (#1549)
  • Added ability for customToolbar function to receive displayData. Thanks to @btyler (#1551)

Version 3.5.0

04 Oct 22:21
Compare
Choose a tag to compare
  • Added filterArrayFullMatch option. Thanks to @AntoineLecacheurInsee (#1518)
  • Added ability to have a custom react-dnd backend for drag and drop. Thanks to @butchmarshall (#1536)
  • textLabels object (text localization) was updated for title text for next and previous footer buttons. Thanks to @Ruriel (#1535)

Version 3.4.1

20 Aug 19:58
Compare
Choose a tag to compare
  • The addition of a tableId option to allow for consistency in server-side rendering. Thanks to @rfermann (#1472)
  • Fix for incorrect filterPos when filterList contains object types. Thanks to @JeffJankowski. (#1481)
  • Fix search results for excluded options. Thanks to @wdh2100. (#1485)
  • Update display to accept either boolean or string. Thanks to @w3bdesign. (#1482)

Version 3.4.0

08 Aug 02:41
Compare
Choose a tag to compare
  • rowsPerPage now allows updates on re-renders. (#1445)
  • page option now updates the table on re-renders. (#1460)
  • Added "data-description" prop to Checkbox component. This props describes where a checkbox is (valid values: ['row-select', 'row-select-header', 'table-filter', 'table-view-col']). This can be useful for cases where you want different types of selection (ex: replacing the row selection checkboxes with radio buttons). (#1461, #1453)
  • Made the expand row button replaceable via the components option (ExpandButton). (#1446)
  • TableFilter now swappable via components. Thanks to @andreiglingeanu (#1456)
  • IE11 updates which refactor includes to be indexOf (more info on difference here), and wraps an IF statement around the Object.value call. (#1451)

Bug fix for resizable and draggable columns

28 Jul 01:56
db5ec06
Compare
Choose a tag to compare
  • Fix for making draggable columns work properly when there is a scroll offset on the table (ex: a table with 20 columns where one scrolls to the right to see columns).
  • Fix for resizable columns when certain columns are hidden. Also implements a better fix for the selectableRows="none" issue that was mentioned in the 3.3.0 release.

Version 3.3.0

25 Jul 20:05
0298052
Compare
Choose a tag to compare
  • Added support for custom sort function for columns (columns[colIndex].options.sortCompare). Thanks to @GuyShaanan (#1424)
  • Third click to reset table sorting (available by setting options.sortThirdClickReset to true). Thanks to @danielbyun (#1430)
  • Added sortDescFirst option to allow table to sort in desc order first (#1411)
  • Test coverage updates to get coverage above 80% (#1425)
  • Fix for resizable tables when selectableRows="none" (#1433)
  • Updated searchText README (#1429)
  • Fixed issue with Close icon on ViewColumns popover in strict mode (#1440)
  • Added safeguards and documentation clarifying the rowsSelected option. Thanks to @wdh2100 (#1438)

Version 3.2.0

16 Jul 02:26
1bd92e6
Compare
Choose a tag to compare
  • Added setFilterChipProps option - An option to set props on the filter chips (#1387)
  • Refactored out unsafe_componentWillMount - Should now allow the table to run in strict mode without warnings (#1388, #1261)
  • Added currentTableData to tableMeta parameter of customBodyRender. This field is an array of objects, where each object points to a row of data in the table and provides the dataIndex to the external data. This resolves consistency problems with tableMeta.tableData. If there is a version 4 of mui-datatables, tableMeta.tableData will be removed. (#1405, #933)
  • Added jumpToPage option - This option, if true, adds a "Jump to Page" dropdown to the table footer that allows users to navigate to a specific page. (#1398)
  • Added TableViewCol and Checkbox to components property. This allows custom versions to be inputted. For example, using a checkbox with a different color. The large-data-set example has been updated to show custom versions of these components in action. (#1399, #1250 (comment), #1255, #1249)
  • Added customHeadLabelRender column option. This creates a custom render function for the table's header cell label. The label's display in other areas (such as the View Columns popover), will still use the column's label. (#955 (comment))
  • Fix to allow using a component in textLabels.body.noMatch without getting a warning. (#1403, #1401)
  • Deprecation typo fix. (#1402)
  • Fixed issue with dragging columns that have nested mui-datatables in their expanded rows. (#1406)
  • Fixed issue with setCellProps. (#1414)
  • Fixed issue with customFilterListOptions.update. (#1407)
  • Replaced classnames package with clsx. This is the package Material UI uses. It has the same API as classnames but is faster and smaller. Thanks to @cahna (#1409).
  • Example updates with clsx. Thanks to @wdh2100 (#1415)
  • Several components refactored into hooks. Thanks to @wdh2100 (#1351, #1349, #1347)

Minor bug fix for draggable columns

09 Jul 15:54
Compare
Choose a tag to compare
  • Bug fix #1395 - Fix for the behavior of draggable columns when the table doesn't have selectable rows and there is margin on the left of the table.

Minor Bug Fixes and README updates

01 Jul 23:57
468c9c7
Compare
Choose a tag to compare
  • Bug fix for when setRowProps, setTableProps, setCellProps, or setCellHeaderProps returns undefined (#1380)
  • Bug fix for when the "Reset" button is pressed on the Filter Dialog (#1383)
  • README updates (#1372)

Draggable columns, customBodyRenderLite, and several other updates

22 Jun 02:42
Compare
Choose a tag to compare
  • Draggable Columns, demo here. (#1329)
  • Added customBodyRenderLite. This is a more performant version of customBodyRender which doesn't affect filtering and takes in the dataIndex. (#1339)
  • Removed object deprecation notice for object data. Objects now officially supported. (#1339)
  • Added filterOptions.fullWidth. This setting allows filters to spread across the full width of the filter dialog. (#1340)
  • Added onFilterChipClose. This is a callback that gets executed when a filter chip is closed. (#1341)
  • Several files refactored to be hooks (thanks to @wdh2100)