Click here to Skip to main content
14,494,314 members
Rate this:
Please Sign up or sign in to vote.
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, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100