Hybrid View

  1. #1
    Sencha User
    Join Date
    Sep 2012
    Posts
    3
    Vote Rating
    0
    spandzsencha is on a distinguished road

      0  

    Default Ext Grid associated Store error - Cannot read property 'buffered' of undefined

    Ext Grid associated Store error - Cannot read property 'buffered' of undefined


    Hi,

    I am trying to build a POC using Ext JS4.1

    I am trying to load data into a grid ( view ) using a store.
    In the initComponent function of the view when I am trying to associate the Store, I am getting the following error

    Uncaught TypeError: Cannot read property 'buffered' of undefined

    this.store ='myApp.store.StoreTable';

    Any pointers please.

    Thanks!

  2. #2
    Sencha User
    Join Date
    Sep 2012
    Posts
    3
    Vote Rating
    0
    spandzsencha is on a distinguished road

      0  

    Default Solved

    Solved


    Resolved...

    The erorr was in the store association code.

    It should be -

    this.store ='StoreTable';
    and not
    //this.store ='myApp.store.StoreTable';

  3. #3
    Sencha Premium Member
    Join Date
    Nov 2013
    Posts
    7
    Vote Rating
    0
    D795 is on a distinguished road

      0  

    Default


    Thank you! I had this problem also and your post solved it. In my grid panel view I had to change

    store: 'MyApp.store.TableResults'

    to

    store: 'TableResults'

  4. #4
    ExtJS Premium Member
    Join Date
    Feb 2010
    Location
    Neptune Beach, Florida
    Posts
    51
    Vote Rating
    1
    gbegley is on a distinguished road

      0  

    Default Try adding store to Application config stores array.

    Try adding store to Application config stores array.


    I had this issue, and it went away after I added the Store to the 'stores' array of my application config.

Thread Participants: 2