mui-x
mui-x copied to clipboard
[DataGrid] Preserve filtering and sorting from initialState when there are no columns yet
Fixes #6206
These are the results for the performance tests:
Test case | Unit | Min | Max | Median | Mean | σ |
---|---|---|---|---|---|---|
Filter 100k rows | ms | 639.9 | 1,142.7 | 639.9 | 850.94 | 197.171 |
Sort 100k rows | ms | 725 | 1,215.4 | 1,215.4 | 1,017.32 | 175.145 |
Select 100k rows | ms | 173.2 | 291.1 | 243.1 | 239.08 | 46.347 |
Deselect 100k rows | ms | 173.6 | 313.6 | 274 | 260.02 | 50.256 |
Generated by :no_entry_sign: dangerJS against 0a56fd8197bf5e60df02dffd9daeaf0a8a347cbd
Thank you for the fix. Any chance this PR can be revisited?
This pull request has conflicts, please resolve those before we can evaluate the pull request.
Hey, can you merge this?
This approach didn't work as expected, so I ditched it. Please use this workaround for now.