Any way to stop MultiList sorting?

AshMcConnell

05-07-2010 10:12:38

Hi Folks,

When I add items to a MultiList it automatically sorts on the first column, is there any way to stop this behaviour? I am adding a list of race results to the list, and therefore i'd like to keep it in order.

Thanks for your help
All the best,
Ash

Altren

05-07-2010 14:47:53

Hm, looks like it had wrong behaviour. I fixed Multilist, so if you use MyGUI from svn you should update.
If you use any other version you should call
multilist->sortByColumn(MyGUI::ITEM_NONE);after adding or removing columns or after loading layout if columns is in layout.

AshMcConnell

05-07-2010 19:24:15

Thanks Altren!