Well, Since I don't have the code here in this machine, I'm gonna try to be as clear as possible to explain what I have to do and hopefully get some help. Well, I'm doing a remote pagination (using remoting) and to show the files I'm using a treeview, but first I developed this treeview to make easier my filtering job: PatternComposite
Well, what I need to is, I have a comboBox with the extensions and when the user select between the values, the tree must be updated showing only the files with the selected(s) extension(s).
How can I do so ?
Edit:
After trying a lot, I was able to do the filtering stuff by repopulating the treeview using the searchPattern, but what I can't do now is save the expanded nodes before the repopulation. Let's say I have this tree:
-- C:
++ ProgramFiles
-- Dell
-- EA
++ Google
-- Dll
-- Whatever
Where the ++ are the expanded nodes. How can I have the same structure (the expanded nodes like the above) after repopulation ? Do I have to do a recursion expanding the nodes ?
Thanks again !