Skip to content

Web Workers #3057

@kpau

Description

@kpau

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

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions