Skip to content

Grid state expansion not really working #17562

Description

@ricardosaracino

Description

I might not be using this right but the grid state works for expansion after the initial save/restore.

Filtering and sorting are working as expected.

When i initially get the grid state on a tree grid to store with one row expanded its storing

Save {"sorting":[],"expansion":[["4",true]],"filtering":{"filteringOperands":[],"operator":0}}
Image

after i restore that state everything is expanded

Restore {"sorting":[],"expansion":[["4",true]],"filtering":{"filteringOperands":[],"operator":0}}
Image

after that if i then collapse the first 3 it works

Save {"sorting":[],"expansion":[["4",false],["3",false],["1",false]],"filtering":{"filteringOperands":[],"operator":0,"type":0}}
Image

Restore the state for a second time

Restore {"sorting":[],"expansion":[["4",false],["3",false],["1",false]],"filtering":{"filteringOperands":[],"operator":0,"type":0}}
Image

Framework

Angular

Angular Version

21

Ignite UI for Angular Version

21

Component / Area

Pivot Grid

Browser

Chrome

Operating System

Windows

Command Not Working

Steps to Reproduce

Actual Result

All rows are expanded after restoring the state

Expected Result

Only the first row should be expanded after restoring the state

Reproduction URL

No response

Attachments

No response

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions