GwtMaterialDesign / gwt-material-table

A complex table component designed for the material design specifications
https://gwtmaterialdesign.github.io/gmd-table-demo/
Apache License 2.0
27 stars 31 forks source link

MaterialDataTable sort very slow #153

Closed stockiNail closed 4 years ago

stockiNail commented 6 years ago

I'm using the MaterialDataTable with 12 columns and 85 rows. The columns are sortable. When I'm requesting the sort for a column, the sort last 17 seconds. This is happening if I'm using both Firefox and IE.

Here is the definition of material data table:

I'm using GWT material 2.0.1.
BenDol commented 6 years ago

This is a known issue in Firefox and IE, will need people to help investigate this issue for a solution. I will be looking into it this week, but any help prior will speed up a solution. Thanks!

BenDol commented 6 years ago

I have begun investigating sort performance on Firefox and IE, this commit will help improve performance but there is still a rendering issue on those browsers that needs to be identified.

stockiNail commented 6 years ago

Thank you BenDol. I'm gonna check out and to find time to test it. Be aware that my feeling is that also when you are loading several rows (no sorting phase) into a MaterialDataTable, it seems to be very time consuming (with a test with 350 rows the rendering lasts many seconds, almost 1 minute).