1276
Views
9
Comments
Dynamic Tree View from DB Data/List
Question

I am trying to use a dynamic tree view or hierarchical view from a database record but when I searched in the forge, I am able to see the tree view done by structure list only. Is there any widget for my requirement or Could anyone please help me to achieve a dynamic tree view from database list?

2024-07-05 14-16-55
Daniël Kuhlmann
 
MVP
UserImage.jpg
Md Aslam

Hi Daniel, 

Thank you for your replay but I want customized dynamic tree view (should be able to change icon and dynamic tree based on record modification), in the hierarchical-tree module, I am not able to make the name as a link, It should be clickable. 


And Is there any other option to achieve the tree view without web block widget?


Thanks,

Md Aslam.

2024-07-05 14-16-55
Daniël Kuhlmann
 
MVP

Hi,

If you search the forge there are more components that could be helpful for your case.

https://www.outsystems.com/forge/Component_Search.aspx?q=tree&t=&o=&tr=False&oss=False&c=&a=&v=&hd=False&tn=

I just mentioned the one I have experience with.

You will have to check which one fits the best for you. Some of them have a demo app so you can see how it works.

For example:https://emluis.outsystemscloud.com/zTreeExample/ shows different ways how to use the ZTree component.

You have to invest some time if there is one that fits your needs.

Regards,

Daniel

UserImage.jpg
Md Aslam

Hi Daniel,


Yeah, I am trying the components available in forge only that zTree, TreeWidget etc. But the tree structure list only used in all widgets, not the database list, so my question here is how to make that tree from database list? Or how to link our database data to structure? 

2024-07-05 14-16-55
Daniël Kuhlmann
 
MVP

Not having time to dive into the details myself,  I would assume the widget contains structures with lists in list structures. You have to get the data from the database and populate those structures.

UserImage.jpg
vaibhav pardesi

Hi


I have different XML file i have to display those file in tree view Or hierarchical  view in react outsystem .file can be select dynamically . please help me how can i achieve .

Thanks

2024-07-05 14-16-55
Daniël Kuhlmann
 
MVP

Hi Vaibhav,

If you could share an .OML or .OAP with the code you created sofar, I will try and have a look tonight.

Regards,

Daniel

UserImage.jpg
vaibhav pardesi

Daniël Kuhlmann wrote:

Hi Vaibhav,

If you could share an .OML or .OAP with the code you created sofar, I will try and have a look tonight.

Regards,

Daniel

 

Hi
Please find attached json file . i have created structure using this json and successfully parse json to structure .now i have to show that data in tree view . please any one helpme to show data in tree view

Jsonoutput.txt
UserImage.jpg
vaibhav pardesi

Hi Daniel 

I am very sorry for late reply . Till now i don`t get starting point how i have to start work . i am getting different different XML from Web API and i have to show that in tree view .please help me .


Thanks


Community GuidelinesBe kind and respectful, give credit to the original source of content, and search for duplicates before posting.