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

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: 1221
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: Sat Apr 25 18:19:51 GMT+2 2026

Total time taken to generate the page: 0.00576 seconds