Overview
Examples
Screenshots
Comparisons
Applications
Download
Documentation
Tutorials
Bazaar
Status & Roadmap
FAQ
Authors & License
Forums
Funding Ultimate++
Search on this site
Search in forums












SourceForge.net Logo
Home » U++ Library support » ArrayCtrl, HeaderCtrl & GridCtrl » ClearMultisort being called after total_cols reduced to 1 [BUG?]
Re: ClearMultisort being called after total_cols reduced to 1 [BUG?] [message #30538 is a reply to message #30435] Fri, 07 January 2011 14:24 Go to previous message
unodgs is currently offline  unodgs
Messages: 1366
Registered: November 2005
Location: Poland
Ultimate Contributor

You're absolutely right about the fix. I only simplified your solution, because calling ClearMultisort in Reset() is only about clearing sortOrder member. There is no sense to clear flags in particular columns if few lines later those columns are removed. So i removed calling ClearMultisort and replaced it with sortOrder.Clear(). Now in svn. Thank you for great testcase and pointing the solution!
 
Read Message icon5.gif
Read Message
Previous Topic: Feature request: DropGrid shifts to edit text mode if dynamic search results in 0 matches
Next Topic: ArrayCtrl and EditString WithDropChoice
Goto Forum:
  


Current Time: Sun May 05 11:38:46 CEST 2024

Total time taken to generate the page: 0.03103 seconds