Closed GoogleCodeExporter closed 9 years ago
This could be done populating an array with references to the selected items,
sorting
them using Text property (maybe Array.Sort could do the trick), then removing
the
items from tree/listview, and re-adding them in the right order. This assumed
you
can't sort directly a Collection (eg. ListView.SelectedItems) or change the
index
inside the Collection in some other way, which would be the easiest path..
Original comment by pog...@gmail.com
on 18 Apr 2008 at 4:31
I haven't really looked into this yet. I don't anticipate it will be too hard.
The
sorting should be invoked via a right-click menu I think.
Original comment by rios.fer...@gmail.com
on 19 Apr 2008 at 3:33
yes i guess it's the most natural way to do it... but it would only reflect on
wmtp's
internal listviews, wouldn't it? it would only be a matter of sorting a
collection of
nodes, i mean
Original comment by pog...@gmail.com
on 19 Apr 2008 at 9:01
can now sort listviews. Still need to do treeviews
Original comment by rios.fer...@gmail.com
on 20 Apr 2008 at 4:38
Done v0.3.2 r13. Treeview is sorted on load, but I don't think it would be that
useful to put in the work just to be able to sort just a specific node
Original comment by rios.fer...@gmail.com
on 21 Apr 2008 at 2:31
Original issue reported on code.google.com by
rios.fer...@gmail.com
on 18 Apr 2008 at 12:49