IgniteUI / igniteui-angular

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.
https://www.infragistics.com/products/ignite-ui-angular
Other
568 stars 159 forks source link

Grid Advanced Filtering throws if grid has recreated its columns colection #14314

Open hanastasov opened 1 month ago

hanastasov commented 1 month ago

Steps to reproduce

  1. Add grid with Advanced filtering (you can use the GridFilteringComponent in dev demos
  2. Through Advanced filtering dialog, filter some column, lets say CompanyName
  3. Change the collection, which the grid uses to create columns based on;

this.columns = this.columns2; // columns2 has different columns than columns

OR change the grid data and have tje grid auto generate its columns:

        this.grid1.shouldGenerate = true;
        this.data = this.data3;
  1. Open Advanced Filtering dialog

Result

Error is thrown and Advanced filtering dialog is not opened image