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 ?
Thanks for your answers
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 ?
Thanks for your answers
Comment