Ignite UI for Angular is a complete library of Angular-native, Material-based Angular UI components with the fastest grids and charts, Pivot Grid, Dock Manager, Hierarchical Grid, and more.
Since version 18.0.1 there is a performance drop in row selection when there are lots of rows.
This is because of the nested this.grid.gridAPI.get_all_data(true).find() in the this.rowSelection.forEach().
Description
Since version 18.0.1 there is a performance drop in row selection when there are lots of rows. This is because of the nested
this.grid.gridAPI.get_all_data(true).find()
in thethis.rowSelection.forEach()
.https://github.com/IgniteUI/igniteui-angular/blob/7ea822c488140bb2e96e1becfb8abd37cf04489a/projects/igniteui-angular/src/lib/grids/selection/selection.service.ts#L402-L408
This could be significantly improved by creating a map beforehand and using this.
Attachments
Without fix:
With fix: