31
Views
2
Comments
Ztree
Question

Hi Team,

While using the component with seperate entities in outsystems for parent and leaf. if the parent id is equal to the leaf id the data isn't populated properly as leaf is then also created as parent.

 The structure of every development cannot be that of a lookup in case of normalized data structure. 


Can you please manage the identity of parent & child internally so that this data redundancy doesn't reflect on the UI.



Regards

Rahul

2023-02-10 19-42-59
João Melo
 
MVP

How about if you concatenate the identifiers with a suffix, matching the entity the data is coming from, so you have unique identifiers?

2026-02-26 06-29-24
Rahul
 
MVP

Hi Joao,

I know we can do it we can  add suffix Parent for P cnd Child for C it is easy butI am only raise this question to Ztree component team so they can handle it while development no need to add extra effort.

I have already solve my problem.


Regards

Rahul

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