infinite-table / infinite-react

The modern React DataGrid for building apps — faster
https://infinite-table.com
73 stars 5 forks source link

Enhance DataSource to skip grouping when possible #248

Open radubrehar opened 1 month ago

radubrehar commented 1 month ago

Currently when the dataSourceApi.updateData is called, a new cache is created, which triggers a groupBy all the time, even if the groupBy fields are not in the cache-affected fields.

It might be possible to optimise this, though it's quite difficult. We need to add a few more tests to ensure correctness.