-
3 Dec 2010 7:06 AM #1
[OPEN-626] 1.0.1 Grouped Ext.List Issue When Adding Items When List Not Visible
[OPEN-626] 1.0.1 Grouped Ext.List Issue When Adding Items When List Not Visible
When a list is not visible, and an item is added to a grouped list, the groupOffsets property is not set correctly.
All of the offsets are being set to 0, causing the last group header to always be used during scroll.
Not sure if this is the best fix, but here is what I did to address this issue
I updated the Ext.List updateOffsets method as follows
I think this is okay, as the only method that uses this property, getClosestGroups, calls the updateOffsets if groupOffsets is not set.Code:updateOffsets : function() { if (this.grouped && this.isVisible()) {
Thank you for reporting this bug. We will make it our priority to review this report.
Similar Threads
-
Dynamically adding/removing 'grouped' & 'indexBar' to/from a List
By shellgrit in forum Sencha Touch 1.x: DiscussionReplies: 9Last Post: 13 Oct 2011, 6:24 AM -
[OPEN-534] List items can no longer be deselected in 0.99
By dloomer in forum Sencha Touch 1.x: BugsReplies: 14Last Post: 17 Nov 2010, 6:57 AM -
Combobox inner list not aligning list items propertly ?
By ritesh.kapse in forum Ext 2.x: Help & DiscussionReplies: 13Last Post: 29 Oct 2010, 5:29 AM -
Detect which items of list are visible?
By konki_vienna in forum Sencha Touch 1.x: DiscussionReplies: 5Last Post: 25 Oct 2010, 1:36 PM -
[FNR] BeanModelGenerator wrap list in a list on set() for non BeanModel items
By zalant in forum Ext GWT: Bugs (2.x)Replies: 1Last Post: 17 Sep 2010, 3:02 AM


Reply With Quote