Mui-datatables: Filter Table and View Columns icons are not working after upgrading to 2.1.0 (from 2.0.0)

Created on 8 May 2019  路  6Comments  路  Source: gregnb/mui-datatables

Expected Behavior

View columns and filter table as wanted.

Current Behavior

When clicking the icon(View Columns & Filter Table) nothing happens. Search and Download icons works just fine.

Screenrecording:
https://www.dropbox.com/s/h9i449od9tlcowy/Screen%20Recording%202019-05-08%20at%2013.58.37.mov?dl=0

Steps to reproduce

  1. Upgrade mui-datatables to version 2.1.0
  2. Start app
  3. When View Columns selector and Filter Table are clicked nothing happens

Your Environment

I'm using a react app based on create-react-app running on node 10.15.3.

| Tech | Version |
|-----------------|-----------------|
| Material-UI | 3.9.3 |
| MUI-datatables | 2.1.0 |
| React | 16.8.1 |
| browser | Crome & Safari |
| etc | MacOS Latest |

bug

Most helpful comment

Later versions of material-ui introduce breaking changes. I'm working on upgrading it, but it's complicated, so it may not be done for a bit.

image

In the mean time, I recommend using material packages that are no larger than the versions used by this library. In the code sandbox example above, if I change package versions to @material-ui/core: 3.2.2 and @material-ui/icon: 3.0.2, the buttons work as expected.

All 6 comments

I see the same error. Here is a link to codesandbox example for the same:
https://codesandbox.io/s/rj37ykw26m?fontsize=14

Later versions of material-ui introduce breaking changes. I'm working on upgrading it, but it's complicated, so it may not be done for a bit.

image

In the mean time, I recommend using material packages that are no larger than the versions used by this library. In the code sandbox example above, if I change package versions to @material-ui/core: 3.2.2 and @material-ui/icon: 3.0.2, the buttons work as expected.

The same case, I have downgraded to version 2.0.0. Waiting for the newest version for fixing it.

Same case here too

There is a PR up that should fix this particular issue, so stay tuned.

Got the same error here, with the MaterialUI 4 beta. Made the downgrade to 2.0.0 and it worked.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

cahna picture cahna  路  3Comments

NickToye picture NickToye  路  4Comments

chapmanjacobd picture chapmanjacobd  路  4Comments

aramkoukia picture aramkoukia  路  3Comments

ronaiza-cardoso picture ronaiza-cardoso  路  3Comments