Hiding nodes in tree component?

Hello,

My tree component loads its children dynamically whenever i open a node, which works fine. but i also am filtering the children children out at times by removing them from the tree or not adding them when loaded.

What i want to do is basically make a tree node not Visible, so i can basically parse my treee and change visibility statuses without actually removing it from the tree.

Any thoughts?

Thanks!!