Looks like we can't reproduce the issue or there's a problem in the test case provided.
  1. #1
    Sencha User
    Join Date
    Dec 2007
    Posts
    23
    Vote Rating
    0
    kyr0 is on a distinguished road

      0  

    Default Ext.dataview.List duplicated the Grouping Header every time store data changes

    Ext.dataview.List duplicated the Grouping Header every time store data changes


    Re

    I have a List component instance bound to a store.
    If I click on a button I filter the store by filter() (btw: there is another problem: You need to call clearFilter() anytime before calling filter(), otherwise the store is empty...).

    So anytime the store gets filtered and you have grouped: true set on a List view, the group header gets rendered again, so after 3 clicks I have 3 group headers displayed on top of the list

    List code:
    Code:
    {
                            title: 'Artikel',
                            xtype: 'list',
                            id: 'articleList',
                            itemTpl: '<div class="contact"> <strong>{title}</strong> by {author}</div>',
                            store: articleStore,
                            style: 'background-color: #efefef;',
                            flex: 1,
                            disclosure: true,
                            grouped: true,
    
    
                            onItemDisclosure: {
                                scope: 'test',
                                handler: function(record, btn, index) {
                                    alert('Disclose more info for ' + record.get('id'));
                                }
                            }
                        }
    Store code:
    Code:
    var articleStore = new Ext.data.JsonStore({           model: 'Articles',
               id: 'articleStore',
               storeId: 'articleStore',
               sorters: 'title',
    
    
               getGroupString: function(record) {
                   return "Artikel";
               },
    
    
               data: articles // Array with valid JSON data
            });
    Thanks & Regards

  2. #2
    Sencha User
    Join Date
    Mar 2007
    Location
    Haarlem, Netherlands
    Posts
    1,243
    Vote Rating
    7
    TommyMaintz will become famous soon enough

      0  

    Default


    We are aware of this issue, and it's already in our bug tracker. This will be fixed as part of the next release.

  3. #3
    Sencha User
    Join Date
    Nov 2011
    Posts
    1
    Vote Rating
    0
    keepinmind is on a distinguished road

      0  

    Default Thanks

    Thanks


    Great... i'm actually suffering from this bug too.

Thread Participants: 2

film izle

hd film izle

film sitesi

takipci kazanma sitesi

takipci kazanma sitesi

güzel olan herşey

takipci alma sitesi

komik eğlenceli videolar