Results 1 to 2 of 2

Thread: Subclass of store does not load in grid

  1. #1

    Default Subclass of store does not load in grid

    Hi,


    I have created a class like


    Code:
     Ext.define('abc.StoreService', {
             extend: 'Ext.data.Store',
             autoLoad: true,
             autoSync: true,
             proxy: {
                 type: 'memory',
                 reader: 'json',
                 data: [{
                     date: "2016-07-15",
                     arrival: 'Foo',
                     dep: 'abc'
                 }]
             },
        }
    
    
         Ext.define('abc.mystore.Store', {
             extend: 'abc.StoreService',
             alias: 'Abc Store',
            });
    But if i use in grid like


    Code:
        store: 'abc.mystore.Store',
    or use


    Code:
        store: 'Abc Store',
    it does not load the store data. Is there any thing wrong i am doing?

  2. #2
    Sencha - Support Team
    Join Date
    Oct 2011
    Posts
    4,108
    Answers
    342

    Default

    Check out this fiddle example:
    https://fiddle.sencha.com/#fiddle/1doc
    Get more personalized support via a support subscription.

    Need more help with your app? Hire Sencha Services [email protected]

    When posting code, please use BBCode's CODE tags.

    Need to include a test case use:
    The official Sencha Fiddle

Similar Threads

  1. Replies: 1
    Last Post: 6 Jun 2016, 4:35 AM
  2. Replies: 1
    Last Post: 28 Jan 2014, 12:17 PM
  3. Subclass working, Subclass of Subclass Bombing
    By Eric.Sencha in forum Ext: Q&A
    Replies: 5
    Last Post: 6 Feb 2012, 10:56 AM
  4. Change Grid Column Config in Subclass
    By froamer in forum Ext Designer: Help & Discussion
    Replies: 6
    Last Post: 3 Jun 2010, 11:19 PM
  5. Extending the store in a subclass
    By schube in forum Ext 2.x: Help & Discussion
    Replies: 2
    Last Post: 2 Sep 2008, 6:04 PM

Tags for this Thread

Posting Permissions

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