Thank you for reporting this bug. We will make it our priority to review this report.
  1. #1
    Sencha Premium Member
    Join Date
    Jul 2009
    Posts
    116
    Vote Rating
    0
    JacobGu is on a distinguished road

      0  

    Default [DUPE-239] Store.insert does not fire 'datachanged' event.

    [DUPE-239] Store.insert does not fire 'datachanged' event.


    The documentation for the Store's datachanged event says as follows:

    * @event datachanged
    * Fires whenever the records in the Store have changed in some way - this could include adding or removing records,
    * or updating the data in existing records
    * @param {Ext.data.Store} this The data store
    */
    'datachanged'

    However, the 'insert' method does not fire the event (also called by 'add' method). It should be corrected as follows with red colored code to be added in fix:

    Code:
        insert : function(index, records) {
            records = [].concat(records);
            for (var i = 0, len = records.length; i < len; i++) {
                this.data.insert(index, records[i]);
                records[i].join(this);
            }
            if (this.snapshot) {
                this.snapshot.addAll(records);
            }
            this.fireEvent('add', this, records, index);
            this.fireEvent('datachanged', this);
        }

  2. #2
    Sencha User Jamie Avins's Avatar
    Join Date
    Mar 2007
    Location
    Redwood City, California
    Posts
    3,661
    Vote Rating
    20
    Jamie Avins is a jewel in the rough Jamie Avins is a jewel in the rough Jamie Avins is a jewel in the rough

      0  

Similar Threads

  1. Replies: 3
    Last Post: 3 Sep 2010, 6:28 PM
  2. Store not firing Save Event after Insert
    By Bleak in forum Ext 3.x: Help & Discussion
    Replies: 4
    Last Post: 10 May 2010, 5:09 AM
  3. Replies: 1
    Last Post: 25 Mar 2010, 12:53 PM
  4. Event datachanged of store
    By anhkpb in forum Ext 2.x: Help & Discussion
    Replies: 2
    Last Post: 16 Jul 2009, 2:41 AM

Thread Participants: 1

Turkiyenin en sevilen filmlerinin yer aldigi xnxx internet sitemiz olan ve porn sex tarzi bir site olan mobil porno izle sitemiz gercekten dillere destan bir durumda herkesin sevdigi bir site olarak tarihe gececege benziyor. Sitenin en belirgin ozelliklerinden birisi de Turkiyede gercekten kaliteli ve muntazam, duzenli porno izle siteleri olmamasidir. Bu yuzden iste. Ayrica en net goruntu kalitesine sahip adresinde yayinlanmaktadir. Mesela diğer sitelerimizden bahsedecek olursak, en iyi hd porno video arşivine sahip bir siteyiz. "The Best anal porn videos and slut anus, big asses movies set..." hd porno faketaxi