From 1edfd405b5b1ebb1af98c67f3efb4053a04260a1 Mon Sep 17 00:00:00 2001 From: Patrick Gillespie Date: Sun, 25 Oct 2020 23:39:24 -0400 Subject: [PATCH] 3.6 updates --- README.md | 2 +- package-lock.json | 2 +- package.json | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 0c29296d7..fc5755a43 100644 --- a/README.md +++ b/README.md @@ -164,7 +164,7 @@ The component accepts the following props: |**`customSearchRender `**|function||Render a custom table search. `customSearchRender(searchText: string, handleSearch, hideSearch, options) => React Component` |**`customSort`**|function||Override default sorting with custom function. If you just need to override the sorting for a particular column, see the sortCompare method in the [column options](https://github.com/gregnb/mui-datatables#column-options). `function(data: array, colIndex: number, order: string) => array` [Example](https://github.com/gregnb/mui-datatables/blob/master/examples/customize-sorting/index.js) |**`customTableBodyFooterRender`**|function||Render a footer under the table body but above the table's standard footer. This is useful for creating footers for individual columns. [Example](https://github.com/gregnb/mui-datatables/blob/master/examples/customize-footer/index.js) -|**`customToolbar`**|function||Render a custom toolbar +|**`customToolbar`**|function||Render a custom toolbar `function({displayData}) => React Component` |**`customToolbarSelect`**|function||Render a custom selected rows toolbar. `function(selectedRows, displayData, setSelectedRows) => void` |**`download`**|boolean or string|true|Show/hide download icon from toolbar. Possible values:

|**`downloadOptions`**|object|see ->|An object of options to change the output of the CSV file:

Default Value:`{filename: 'tableDownload.csv', separator: ','}`

diff --git a/package-lock.json b/package-lock.json index 86f4a7369..d77493722 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,6 +1,6 @@ { "name": "mui-datatables", - "version": "3.5.0", + "version": "3.6.0", "lockfileVersion": 1, "requires": true, "dependencies": { diff --git a/package.json b/package.json index a74c59441..dd6ff3c5a 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "mui-datatables", - "version": "3.5.0", + "version": "3.6.0", "description": "Datatables for React using Material-UI", "main": "dist/index.js", "files": [