Skip to content

Child expand/collapse state not saved #115

Description

@denzelby

Hello,

It seems that 'expand/collapse' state of childs are not saved beetween data modifications/filtering/etc with griddle+subgrids.
So, for example, we have some hierarchical data, user expand some parent rows. Then data update is triggered - grid rerenders, all parent rows resets to 'collapsed' state.
The same story with filtering, please take a look at example: http://jsfiddle.net/zcpf1gfs/
How to reproduce (using jsfiddle above):

  1. open dev console;
  2. expand all/some rows;
  3. start typing in 'Filter' box, for example: "Child".
    Actual result: all parent rows collapse, error thrown ("Invariant Violation: findComponentRoot(..., .0.1.2.0.0.0.3.0.0.0.0.1.0): Unable to find element...")

Am I right or just missed some configuration options? If so, can we have some fix or workaround for this? Maybe the #104 is the reason?

Thanks in advance and best regards, really appreciate your work with Griddle.

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

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions