How to create dynamic widget on page

0
Hi, We have a requirement where we want to display multiple tree structures on the page. The number of trees depend on some result of say rest call. How do we dynamically place the widgets on the page? Do we have anything like repeat or loop on the widgets in Mendix? Something similar to we have ng-repeat in angularjs? Thanks, Pallavi  
asked
3 answers
1

I'm not sure if I completely understand what you want to do, but I think a ListView or a TemplateGrid could help. Both are something like "repeated" Dataviews.

answered
1

Hey Pallavi, have you checked the App Store, maybe there is a module which could help you solving the problem.

answered
0

Hi Pallavi,

You can try the grid view and tree view widget.

https://appstore.home.mendix.com/link/app/294/Mendix/TreeView-and-GridView

If you search tree view in the app store there is a couple more options. 

 

Hope this helps!

answered