Premium support for our pure JavaScript UI components


Post by Josh Argent »

Hi,

We have a use case where we need to access the direct children of a node in their original structural order, unaffected by sorting and filtering.


We found that children reflects the sorted and filtered state. The only array that reliably preserves the true tree hierarchy is orderedChildren, but it's currently marked as private.


Would it be possible to make orderedChildren public? We're aware of traverse() with useOrderedTree: true as a workaround, but it traverses the entire tree which is more expensive than needed when you only want the direct children of a single node.

Thanks,
Josh


Post by marcio »

Hey Josh,

Thanks for reaching out.

I created a ticket to discuss/implement that. Please follow the updates here - https://github.com/bryntum/support/issues/12996.

Best regards,
Márcio

How to ask for help? Please read our Support Policy


Post by Josh Argent »

Thanks Marcio!


Post Reply