I have the following data set in a database:
UID ID Label Version ParentID
1 10 Text 1 1 11
2 11 Text 2 1 0
3 12 Text 3 1 0
4 10 Text 1 2 11
5 10 Text 1 3 11
Basically I have one item with the same ID and with multiple version.
How can i only show the latest version in the tree? So only the following data:
UID ID Label Version ParentID
2 11 Text 2 1 0
3 12 Text 3 1 0
5 10 Text 1 3 11
I currently show the tree items “text 1” but also multiplies the number of childs under these items. See attach where “Salarisadminstratie” is “text 1”