Results 1 to 2 of 2

Thread: Unable to bind the store to Ext.List/Panel

  1. #1
    Sencha User
    Join Date
    Mar 2012
    Vote Rating

    Question Unanswered: Unable to bind the store to Ext.List/Panel

    I have this blocking issue and I cannot move on further, the data is getting loading in the store (checked through chrome console). But unable to load / bind the data in the list.

    Currently in the code below, I am using the panel and then trying to load the data in the items. But I have also tried to use Ext.List instead of the panel but to no avail.

    In my code below, I am not setting the root of the json or the record as there is no root.

    Hope anyone can help me out.

    Here is the code for the Model and the store
    Ext.regModel('Itemsor', {
        fields: [
            {name: 'text', type: 'string'},
            {name: 'created_at', type: 'string'},
            {name: 'retweeted', type: 'string'}
    App.StoreItems = new{
        model: 'Itemsor',
        proxy: {
            type: 'scripttag',
            url : '',
            reader: {
                type: 'json'

    Here is the code for the view
    App.views.TimelineIndex =  Ext.extend(Ext.Panel, {
        layout : 'fit',
        scroll : 'vertical',
        items: [{
                    xtype : 'list',
                    store: 'App.StoreItems',
                    itemTpl: '{text}, <span class="date">{created_at}</date>',
                    singleSelect : true,
                    itemSelector : '',
                    onItemDisclosure : function(record, btn, index) {
    Ext.reg('TimelineIndex', App.views.TimelineIndex);

  2. #2
    Sencha - Sr Software Engineer mitchellsimoens's Avatar
    Join Date
    Mar 2007
    Gainesville, FL
    Vote Rating


    You have:

    store: 'App.StoreItems',
    If you pass a string then it will look at StoreManager to find a storeId of that string which your store doesn't have.
    Mitchell Simoens @LikelyMitch
    Sencha Inc, Senior Software Engineer
    Learn BBCode and use it!

    Check out my GitHub, lots of nice things for Ext JS 4 and Sencha Touch 2

    Think my support is good? Get more personalized support via a support subscription.

    Need more help with your app? Hire Sencha Services

    Want to learn Sencha Touch 2? Check out Sencha Touch in Action that is in print!

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

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