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 » GridCtrl: Repaint bug?
Re: GridCtrl: Repaint bug? [message #43167 is a reply to message #43166] Sun, 25 May 2014 10:13 Go to previous messageGo to previous message
forlano is currently offline  forlano
Messages: 1185
Registered: March 2006
Location: Italy
Senior Contributor
Solved! Cool

After posting I had one more idea to test and it worked. The code

arrPlayer.MultiSort(1, GridCtrl::SORT_DOWN)
.MultiSort(2, GridCtrl::SORT_DOWN)
.MultiSort(0, GridCtrl::SORT_UP);

should be placed in the constructor and not in the calback.
The callback instead must contain the line

arrPlayer.ReSort();

 
Read Message
Read Message
Read Message
Read Message
Previous Topic: Hide cell content with '*' symbol in GridCtrl
Next Topic: GridCtrl: custom ButtonOption inside a cell
Goto Forum:
  


Current Time: Tue May 14 16:29:43 CEST 2024

Total time taken to generate the page: 0.01326 seconds