2dc
02-12-2008, 06:45 AM
Hi!
I want to create a multiple levels tree and giving the possibility to the user to "filter" levels.
So for example, I want to only display elements of level 1, 3 and 4, so I filter the level 2.
But to do this, I have to "attach" level 3 elements to level 1 elements and destroy level 2 elements.
So my question is : how can I change dynamically the parent of an element?
I hope that I'm clear enough, sorry for my poor english!
Thanks in advance.
I want to create a multiple levels tree and giving the possibility to the user to "filter" levels.
So for example, I want to only display elements of level 1, 3 and 4, so I filter the level 2.
But to do this, I have to "attach" level 3 elements to level 1 elements and destroy level 2 elements.
So my question is : how can I change dynamically the parent of an element?
I hope that I'm clear enough, sorry for my poor english!
Thanks in advance.