Results 1 to 2 of 2

Thread: Question: Single store with multiple presentations

  1. #1
    Sencha Premium User
    Join Date
    Sep 2010
    Location
    UK
    Posts
    134

    Default Question: Single store with multiple presentations

    Hi,

    I am going to create a single Store object and multiple presentation objects (e.g Grid Panel, Charts). All the presentation objects are pointing to the same Store object. When I call the load method, it will fire the 'load' event from the Store object.

    Do I need to manually code the load event handler of the Store object to fireEvent a 'redisplay' event onto each presentation object? Or these all have been taken care of in Extjs when I link a store object onto a presentation object creation?

    Thanks
    Joe the beginner

  2. #2
    Sencha Premium User StuartAshworth's Avatar
    Join Date
    Feb 2009
    Location
    Glasgow, Scotland
    Posts
    418

    Default

    If you reload a Grid's store the grid will redisplay the new data by itself. I would imagine the same is true for charts.

Similar Threads

  1. New Feature: Allows multiple Grouping presentations
    By joseaio in forum Ext 3.x: Help & Discussion
    Replies: 0
    Last Post: 19 Aug 2010, 12:16 AM
  2. Single data.Store for multiple formpanels
    By dcwmark in forum Ext 2.x: Help & Discussion
    Replies: 7
    Last Post: 13 May 2009, 12:41 PM
  3. [2.0.2] Bug, Single store for multiple combos
    By ttp in forum Ext 2.x: Bugs
    Replies: 3
    Last Post: 26 Feb 2008, 6:31 AM
  4. Filtering a single Store for Multiple Comboboxes
    By fay in forum Ext 1.x: Help & Discussion
    Replies: 2
    Last Post: 7 May 2007, 1:09 PM

Posting Permissions

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