mui-x icon indicating copy to clipboard operation
mui-x copied to clipboard

[DataGrid] Preserve filtering and sorting from initialState when there are no columns yet

Open cherniavskii opened this issue 2 years ago • 1 comments

Fixes #6206

cherniavskii avatar Sep 20 '22 08:09 cherniavskii

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

mui-bot avatar Sep 20 '22 09:09 mui-bot

Thank you for the fix. Any chance this PR can be revisited?

PedroPovedaQ avatar Oct 06 '22 16:10 PedroPovedaQ

This pull request has conflicts, please resolve those before we can evaluate the pull request.

github-actions[bot] avatar Nov 28 '22 12:11 github-actions[bot]

Hey, can you merge this?

cholakovvv avatar Sep 12 '23 06:09 cholakovvv

This approach didn't work as expected, so I ditched it. Please use this workaround for now.

cherniavskii avatar Jan 31 '24 15:01 cherniavskii