182
Views
6
Comments
Solved
Using Ztree component
Question

Hello!

Has anyone had experience with the ZTREE component?

If only I could share an example model. It would be a great help!

I need to develop a tree that has levels and allows the use of drag and drop.

UserImage.jpg
Dylan Heunis
Solution

Hi Danilo,

Are you referring to this forge component: https://www.outsystems.com/forge/component-overview/963/ztree ?

If so, there is a downloadable demo app included with the component that has many examples.

Also, the feature list mentions drag and drop

UserImage.jpg
Aman Kumar Bhardwaj

hey!
I'm using the Z-tree Reactive component in my application.
I have fetched the data(list type) through a GET API endpoint and need to show it on the tree view level.
But, the z-tree is expecting a data of zTreeDataList type :
How can I bind my data to the tree view?

2020-09-15 13-07-23
Kilian Hekhuis
 
MVP

Hi Danilo,

We have used the ZTree component in the past, though I'm not sure what version. We didn't use drag/drop though. What are you trying to achieve?


UserImage.jpg
Danilo Vilarinho

Kilian Hekhuis wrote:

Hi Danilo,

We have used the ZTree component in the past, though I'm not sure what version. We didn't use drag/drop though. What are you trying to achieve?


 

 When it says used in the past. Do you mean that there is now a new way to create a tree in O11? Component of Outsystems itself?

UserImage.jpg
Danilo Vilarinho

Hello! Thanks for the feedback!


The drag and drop I am saying is not the scaffolding of OutSystems.

Through Dylan's comment, I researched the demo you referenced and managed to find it.

I made some implementations, but it created other difficulties that I created a new post for them.


https://www.outsystems.com/forums/discussion/64675/use-callbacks-and-onclick-ztree/


Thank you!

2020-09-15 13-07-23
Kilian Hekhuis
 
MVP

Hi Danilo,

What I meant is that a long time ago, probably when we were on O9 or O10, we implemented ZTree. So it could be that between then and now, the component changed.

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