How to display infinite nested levels (tree structure) in Mendix 10.24?

0
Hi everyone, I'm trying to display a hierarchical list of items in a page, where each item can have an arbitrary number of child items — essentially a tree structure with no predefined depth. I've noticed that the Tree Node widget included in the Mendix Data Widgets package does not support recursion or infinite nesting — it only renders a single level of children, making it unsuitable for this case. Unfortunately, the older MxLabs TreeTable widget, which did support recursive structures, is no longer supported in Mendix 10.24+ (since it relied on the legacy Dojo client). Has anyone found a clean solution for rendering deeply nested tree structures (with dynamic depth) in recent Mendix versions? Any ideas or workarounds would be much appreciated! Thanks in advance!
asked
2 answers
0

Hi Denise, I'm facing the same problem. Did you find a workaround for this?

 

answered
0

Hi,

 

I wrote a widget and a module for this case, React Complex Tree. It is named after the library I use in the widget. The module has a lot of helper functions as such tree cases are never easy to develop.

 

The module:

https://marketplace.mendix.com/link/component/217986

 

The demo app:

https://marketplace.mendix.com/link/component/217994

 

The demo app has other stuff that you can copy and reuse.

answered