Releases: gregnb/mui-datatables
Added row trigger options, custom filter functionality, and minor bug fixes
- Added the ability to trigger either a row select, a row expansion, or both via new options
selectableRowsOnClick
andexpandableRowsOnClick
- Deprecate
onRowClick
functionality triggering when clicking expand icon - Added the ability to add custom filter logic via
filterOptions: { logic: function }
- Added
filterOptions: { names: array }
- Deprecate standalone
filterOptions: array
as a way to add custom names (use new option instead) - Fix filter dialog height for checkboxes
- Fix sort icon and help tooltip display in column headers
- Fix issue with
undefined
values in "multiselect" fitlers - Fix issue with
count
not updating after initial instantiation
Added callback, UI improvements, and bug fixes
onTableInit
callback added that fires only once, when table is first mounted- Fix UI issues around filters popover when there is only one filter in a column and eliminate excess space when there are two columns
- Remove deprecated rollup warning for uglify
- Fix bug when using
'multiselect'
filter option withnull
values - Fix various issues with the
searchText
feature - Allow searches to persist when switching between toolbar view and selecttoolbar view
Added features and bug fix
customRowRender
option added, which allows customization of table rows, passing row data, dataIndex, and rowIndexsearchText
option added, which allows setting a search term on the table, programatically- Fixed some toolbar issues such as #600 and #561
- Added missing documentation for existing
viewColumns
option in the column optoins
Breaking change
onServerRequest
has been renamed to onTableChange
Some breaking changes
This release has brought in some breaking changes I have wanted todo for a while to allow developers some more flexibility to customize. With this release the customRender
function has been simply renamed to customBodyRender
. This naming change allowed for customHeadRender
to come in which bring custom rendering to not only body cells but column headers.
2.0.0-beta-1
After multiple users filing issues about material-ui-icons
it was found that material-ui has moved the icon package to a new location. It is now under the material-ui namespace as opposed to being on its own under material-ui-icons
. Because of this, I've decided to increase the major version. Also keeping in mind that Material-UI will soon be releasing V1 (May 17th) I've moved this to a beta so that in the mean time users experiencing issues can at least get back up and working again.
Thanks to @baer for the PR which resolved the issues
v1.1.7
v1.1.6
- upgraded material-ui dep to the latest beta version.
- @tgBryanBailes fixed the responsive scroll view
- added a few more callbacks
v1.1.5
This release brings in some much needed functionality with a big helping hand from @tgBryanBailes once again! 🎉 Developers will now be able to render custom strings or react components inside of table cells. An example of how this looks can be found in the examples/component folder.
v1.1.4
Finally created a docs website! There's not much up there now but that will change over the coming month.
Bug fixes:
- Tooltip issues in various areas (@tgBryanBailes)