Results 1 to 2 of 2

Thread: How to update list

  1. #1
    Sencha User arunjoy's Avatar
    Join Date
    Mar 2012
    Location
    india,kerala,trivandrum
    Posts
    23
    Vote Rating
    0
      0  

    Default How to update list

    my list view is not updating after adding new data, i heard sync() can solve issue, where to put this function, i am following mvc architecture

  2. #2
    Sencha User arunjoy's Avatar
    Join Date
    Mar 2012
    Location
    india,kerala,trivandrum
    Posts
    23
    Vote Rating
    0
      0  

    Default this is the issue

    Presidents=Ext.create('app.store.Presidents');



    Presidents.load({
    callback : function(records, operation, success) {
    console.log('hai count'+records.length);
    console.log(Presidents);
    Ext.create('app.store.Presidents').add(records);
    Presidents.sync();
    }
    });

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •