1. #1
    Sencha User
    Join Date
    Aug 2011
    Posts
    80
    Vote Rating
    1
    Answers
    1
    Anthony.Hall is on a distinguished road

      0  

    Default Unanswered: Store is undefine after sdk

    Unanswered: Store is undefine after sdk


    my mvc applications works fine. However when i run the sdk. I get store is undefined.

    Below the store is defined as "Cutters" I've also tried the full name namespace "Mis.store.Cutters"

    I've uploaded the whole file. all-classes.txt

    here is my view

    Code:
    Ext.define('Mis.view.Cutter', {    extend:'Ext.panel.Panel',
        alias:'widget.Cutter',
        items:[
            {
                border:0,
                width:950,
                layout:{
                    align:'stretch',
                    type:'hbox'
                },
                items:[
                    {
                        xtype:'gridpanel',
                        title:'',
                        id:'cutterGrid',
                        name:'cutterGrid',
                        layout:{
                            align:'stretch',
                            type:'hbox'
                        },
                        store:'Cutters',
                        columns:[
                            {
                                xtype:'gridcolumn',
                                dataIndex:'CutterNumber',
                                text:'Cutter',
                                flex:1,
                                sortable: true
                            }
                        ],
                        bbar:Ext.create('Ext.PagingToolbar', {
                                id: 'cutterPagination',
                                name: 'cutterPagination',
                                store:'Cutters',
                                displayInfo:true,
                                displayMsg:'Displaying records {0} - {1} of {2}  ',
                                emptyMsg:"No records to display "
                            }
                        )
    
    
                    }
                ]
            }
    
    
        ],
        initComponent:function () {
            this.callParent();
        }
    });

  2. #2
    Sencha - Support Team scottmartin's Avatar
    Join Date
    Jul 2010
    Location
    Houston, Tx
    Posts
    9,154
    Vote Rating
    475
    Answers
    685
    scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future

      0  

    Default


    Do you have it defined in your controller?

    stores : [ 'Cutters' ],

    Scott.

Thread Participants: 1