Filter on expanding/collapsing nodes


First of all, really cool library. Lots of functionality with extreme ease of use. Amazing job.

I have a question about expanding and collapsing nodes. For my test I have a node that is the parent for nodes of two different types, say A and B.

I’ve added the functionality for expanding and collapsing the node, toggling the state for the children no matter their type.

Is it possible to split this functionality in such a way that two toggle buttons are added for each type?

Thanks in advance for your answer.

Best regards,

Do you mean something like the Decision Tree sample?

Hello Walter,
That is exactly what I mean. Stupid, I’ve seen this example, but did not think of it for my own question.

Thank you, question answered!

Best regards,