Krypton-Suite / Extended-Toolkit

A companion toolkit for the standard toolkit.
MIT License
190 stars 32 forks source link

[Question]: KryptonTreeGridView ( 70.22.11.312) - How To sort Child Nodes? #422

Open MattH-Work opened 1 year ago

MattH-Work commented 1 year ago

Using a KryptonTreeGridView, I can sort the tree by using " KryptonTreeGridView.Sort(KryptonTreeGridView.Columns(1), ListSortDirection.Ascending) " But this only sorts the top level nodes, how would I go about sorting the Child nodes?

image

As ever, thanks for all the work done on the Krypton toolkit...

MattH-Work commented 1 year ago

Ended up addin the data to a Datatable, sorting there, then adding to the TreeGridView

Would still like to know if it can be done 'directly' to the TreeGridView child nodes themselves