forlano Messages: 1071 Registered: March 2006 Location: Italy
I have a gridctrl that is sorted via a multisort each time it is feeded.
Unfortunately the grid is multisorded ONLY the first time.
Look at the first picture:
I click the left grid (third row) and some data go in the right grid that is sorted as I want with this code in the callback
Now, if I repeat the same operation (Clear the grid and feed again with the same data) I get this result
So the TB column (the second one to be sorted) is not sorted properly.
I do not know if this is a Repaint() problem or I need to restart/reset in some way the grid in order to be ready to perform a new multisort.