Click here to Skip to main content
15,895,256 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I have a listview with items - everything fine.
But in some cases, these items could have "child" items.

If you check the screenshot attached you can see that still, everything is fine. (child items has the pie diagram.)

My main problem starts when I want to use the column header to sort the items.
When I do so, the sub/child items won't be under the parent item anymore.

Is there a relatively easy solution for this?

https://snipboard.io/lx7weX.jpg[^]

What I have tried:

- tried to create a treeview in the listview, but that wasn't really the result I waited for as I need the child items also clickable as the main items...
Posted
Updated 25-Mar-20 3:36am
v2

1 solution

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900