AdamsLair / treeviewadv

Forked from http://sourceforge.net/projects/treeviewadv/
Other
54 stars 47 forks source link

Update AutoRowHeightLayout.cs #7

Closed galc closed 6 years ago

galc commented 6 years ago

Avoid wasted enumeration of all row heights if the selection is on the header column for which the function is expected to return -1 (at the end of the enumeration). When dealing with large sets (several thousands lines) - the response time for tree sorting through column click is unreasonable due to this enumeration.