#6 GroupListView header fixes, SetFilter sorting fix

v2.0
wont-fix
Bug fix (5)
5
2014-04-25
2010-01-26
Anonymous
No

A few small fixes:

1) SetFilter prevents list from being sorted with a FastOLV. Call _BuildInnerList if innerList is not the same list as modelObjects. (First reported by Yoav Glazner)

2) GroupListView's group headers don't get refeshed with an updated title/count sometimes. Added check to GLV's AddObjects (only updates necessary items, as I read somewhere that you hate flicker ;) )

3) The state of the GroupListView's collapsed groups is lost when you repopulate or AddObjects. Added a dict that keeps track of the group header states, made isExpanded a property to retain compatibility and minimize changes to the rest of the code.

4) This is not an issue but I wanted the ability to hide the expansion column with a GLV, so I added the expansionColumnWidth keyword argument.

Apologies for the misdirected email regarding this.

Discussion

  • Comment has been marked as spam. 
    Undo

    You can see all pending comments posted by this user  here

    Anonymous - 2010-01-26

    Fixed ridiculous loop. Whoops.

     
  • Comment has been marked as spam. 
    Undo

    You can see all pending comments posted by this user  here

    Anonymous - 2010-01-28

    glvfixes-sortfix-doover-20100126

     
  • Phillip Piper

    Phillip Piper - 2014-04-25
    • status: open --> wont-fix
    • Group: --> v2.0
     

Log in to post a comment.