I have a requirement that if a parents children are selected, then the parent should take the partial, '-', selection state. This partial state should apply to its ancestors as well. Is this possible with SlickGrid?
As an example, this is what I need.
parent1(-)
parent2(-)
child1(-)
child2(x)
child3(x)
What has happened here is that both child2 and child3 were selected. So their parent, parent2 should take the partial state along with its parent, parent1. This should only occur when the children are selected. When the parent is selected, all children should be selected and the parent should be fully selected (x).
Thanks
I have a requirement that if a parents children are selected, then the parent should take the partial, '-', selection state. This partial state should apply to its ancestors as well. Is this possible with SlickGrid?
As an example, this is what I need. parent1(-) parent2(-) child1(-) child2(x) child3(x)
What has happened here is that both child2 and child3 were selected. So their parent, parent2 should take the partial state along with its parent, parent1. This should only occur when the children are selected. When the parent is selected, all children should be selected and the parent should be fully selected (x). Thanks