Skip to content

Issue with Grid State #11139

@m4yorga

Description

@m4yorga

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:

  • igniteui-angular version: ^12.2.3
  • browser: tested in Edge but also happens in Chrome

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.

Metadata

Metadata

Labels

🐛 bugAny issue that describes a bug✅ status: resolvedApplies to issues that have pending PRs resolving them, or PRs that have already merged.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions