Igor Jese wrote:
Hi all,
I use ListCtrl with ColumnSorterMixin and it works fine untill I repopulate the list - when I do, the sorting is gone. One can reproduce it in ListCtrl demo: sort the list by "Genre" and then right click and choose "ClearAll and Repopulate".
How can I make the ColumnSorterMixin (or derived class to be precise) to keep the sorting order or at least how can I remember it and set it later manually?
I think you just need to call SortListItems() after you repopulate.
···
--
Robin Dunn
Software Craftsman
http://wxPython.org Java give you jitters? Relax with wxPython!