[CLOSED] Assign Data to store dynamically using json and reload the store

  1. #1

    [CLOSED] Assign Data to store dynamically using json and reload the store

    Hi Team ,

    I am working on Chart control using Ext.net chart . On page load , assign the data to store . After render event , I do some manipulation into data and using store.loadData(result) , I assign the data to store.

    Now when I use filter and assign data to again store and call after render function for manipulation of store data . It will get the old data and perform the manipulation.

    May I know how can , I remove the old data from the store ? and store keep the new data until , I will not assign any new data .
    Last edited by Daniil; Jun 25, 2013 at 7:47 AM. Reason: [CLOSED]
  2. #2
    Hi @alscg,

    I am note sure that I understand the requirement well, but to remove a Store's data, you can use:
    store.removeAll();

Similar Threads

  1. How to reload store data using mvc controller?
    By FlavioSilveira in forum 2.x Help
    Replies: 1
    Last Post: Feb 22, 2013, 4:22 AM
  2. [CLOSED] Reload store created dynamically
    By stoque in forum 1.x Legacy Premium Help
    Replies: 5
    Last Post: Aug 18, 2011, 5:07 PM
  3. Replies: 12
    Last Post: May 20, 2011, 12:35 PM
  4. [CLOSED] Store Data as JSON
    By amitpareek in forum 1.x Legacy Premium Help
    Replies: 2
    Last Post: Dec 08, 2010, 1:25 AM
  5. Replies: 3
    Last Post: Feb 25, 2010, 10:25 AM

Posting Permissions