Sorting in Tree List Breaks the Tree Structure [message #1110829] |
Tue, 17 September 2013 07:30  |
Eclipse User |
|
|
|
Hi,
I have been working on the Tree List.
I have a Tree Table with 4 columns.
Sorting works fine generally on it.
But in a case, where there are 2 parent nodes (both same name) and both have 5 children(all with same name), so when I apply sorting on this table, it breaks the tree.
For example:
Before:
Parent
-Child
-Child
-Child
-Child
-Child
Parent
-Child
-Child
-Child
-Child
-Child
After:
Parent
Parent
-Child
-Child
-Child
-Child
-Child
-Child
-Child
-Child
-Child
-Child
As you can see it has mixed up the children of the two different nodes.
Why is that?
However, when I turn off the sorting, the children could be shown with their original parents.
Regards,
Ali Ahmad Malik
|
|
|
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.03540 seconds