Maybe someone who is better on the UI side will have a better
solution, maybe using a cell renderer, but I do not know how to do
However, since I am comfortable with xml manipulation, I
would simply modify the xml dataProvider before I assigned it to
It will take a recursive function to traverse the xml node
structure. Pass a "iDepth" value in each recursion and check its
value. If it is at the maximum level you want, call removeNode().
If not, increment the depth variable, and go on.
If you want to do this, I'll try to find an example recursive