I have a list of items like this "root.level1.level2.level3.level4" - Im not able to change the format of the data in the list.
e.g.
root.A.A.A.A
root.A.A.A.B
root.A.A.A.C
root.A.B.A.A
root.A.B.A.B
root.A.C.A.A
root.A.D.A.A
etc
I am displaying this in a treeview in B4J and in order to construct the treeview I am looping through the list and then the "levels" within each item. When going through the levels I have to locate the parent in the treeview and then create the child.
For example if I was creating node root.A.A.A.A I would locate root.A.A.A in the treeview and then create the child.
This worked fine while the dataset was small but now it takes 90 seconds to populate the treeview and will continue to get slower.
Does any one have any example of creating a treveiew from a delimited path like this?
e.g.
root.A.A.A.A
root.A.A.A.B
root.A.A.A.C
root.A.B.A.A
root.A.B.A.B
root.A.C.A.A
root.A.D.A.A
etc
I am displaying this in a treeview in B4J and in order to construct the treeview I am looping through the list and then the "levels" within each item. When going through the levels I have to locate the parent in the treeview and then create the child.
For example if I was creating node root.A.A.A.A I would locate root.A.A.A in the treeview and then create the child.
This worked fine while the dataset was small but now it takes 90 seconds to populate the treeview and will continue to get slower.
Does any one have any example of creating a treveiew from a delimited path like this?