Hello, i’m using smartGwt 2.4 and i’m making a TreeGrid with option setSelectionAppearance(SelectionAppearance.CHECKBOX);
He is on a Window and when i check i save and i store data somewhere. But when i reopen my Window i need to check back nodes who matches datas.
This is ok i can select back all of them by retrieving nodes matching datas and set isSelected to true but my problem is that i want the parents be checked too with partial selection or full selection.
How can i make that ? is there anyway to make that automaticly or should i get parent and select it and its parent, … ?
And after i’d like to open all nodes that are selected, how can i make that ?
ps. actually, you might have to change those two lines to open the selected nodes first, and select them afterwards, I remember having some issues with selecting invisible nodes.
Just one last thing is that i check all the parent of my selected value but when the parent has one or more unselected values it appears like full check althoug i set property setShowPartialSelection to true.