gwt-material-table
gwt-material-table copied to clipboard
Updating table layout / columns breaks column toggling
My solution to get around this was to simply not use the built-in row selection features if the column toggle menu is present or if columns were being added/removed depending on data.
This was addressed on GMD 2.5.0-SNAPSHOT
You can test it here and confirm if the issue still exist. https://gwtmaterialdesign.github.io/gmd-table-demo/snapshot/#standard
Still seeing it there too. Steps to reproduce:
- Remove a column / add a column
- Add the column back / remove that added column
- Toggle a column with the table menu -> The toggled column will be off in some way. Here toggling the "First Name" column hides the "image" column but not its header.
Steps 1 and 2 in the gif are done by changing the table selection type which adds or removes the checkbox column. Locally I've reproduced it independent of changing the selection type.