I'm displaying a tree hierarchy with groups having nestedGroups maybe 2 or 3 levels deep. I wanted to filter the visibility of the groups by some custom logic by updating the group dataset with {id:xx, visible:true/false} update calls. But, when I then expand the parent group, all the subgroups are again visible, no matter what I set the subgroup visible property to.
I've prepared a fiddle to show the behaviour. There's three groups, one subgroup starts with visible: false. If I collapse and expand the parent, no matter which subgroups were hidden, they all show after the expansion.
I'm displaying a tree hierarchy with groups having nestedGroups maybe 2 or 3 levels deep. I wanted to filter the visibility of the groups by some custom logic by updating the group dataset with {id:xx, visible:true/false} update calls. But, when I then expand the parent group, all the subgroups are again visible, no matter what I set the subgroup visible property to.
I've prepared a fiddle to show the behaviour. There's three groups, one subgroup starts with visible: false. If I collapse and expand the parent, no matter which subgroups were hidden, they all show after the expansion.