U++ framework
Do not panic. Ask here before giving up.

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: 1367
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: Tue Sep 15 11:16:11 GMT+2 2026

Total time taken to generate the page: 0.00837 seconds