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
569 stars 162 forks source link

Issue with Grid State #11139

Closed m4yorga closed 2 years ago

m4yorga commented 2 years ago

Description

Dear Ignite, We have been using the IgxGridStateDirective to persist and set the last state of the Grid. I think there's an issue when applying filters, please follow these steps to reproduce:

Steps to reproduce

1) Go to this stackblitz 2) Click the FILTER button, the grid will be properly filtered 3) Click the SAVE STATE button, the state will be saved into browser's local storage 4) Click the LOAD STATE button

Result

Grid state is not properly restored, also take a look at the browser's console, this exception is raised "Cannot read properties of undefined (reading 'logic')"

Expected result

State of the grid should be able to restore properly including the saved filter expressions, no exception should be logged in browser's console.

m4yorga commented 2 years ago

Dear Ignite @hanastasov , @Volen99 , @ChronosSF , @katherinedragieva

I see that this issue is now CLOSED. I was inspecting the Pull Requests and if I am not mistaken, I think the fix should be in v13.1.6 , correct?

I created another stackblitz using 13.1.6 and I don't see the "Cannot read properties of undefined (reading 'logic')" exception in browser's console anymore, but still the state of the grid is not properly restored.

This is my new stackblitz replicating the same original issue.

Can you please confirm if my assumptions are correct?

Thanks, regards