-
Notifications
You must be signed in to change notification settings - Fork 2.5k
Closed
Labels
Milestone
Description
Hello,
It would be nice to implement Web Workers into the grid, which will handle the data grouping/sorting/etc.
This will increase the performance, and the application won't freeze when the grid is manipulating large amount of data.
Maybe add config option to choose whether to use web workers or not.
My idea is to pass the data to a single web worker, which will do all data manipulations (sort, group, filter...). The main thread will pass commands via postMessage().
The main thread will have access only to renderedRows[], and the worker - to all rows.
Using postMessage() the threads will communicate: the main thread will request portion of the data which will be rendered, and the worker will give it.
Best regards,
Kristiyan