Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7803599
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 2, 20262026-06-02T01:38:13+00:00 2026-06-02T01:38:13+00:00

I am using Sencha V2. I am trying to populate my list with the

  • 0

I am using Sencha V2. I am trying to populate my list with the values in a Users.json file.

The code in my list file is

Ext.define('iPolis.view.personlist',{
    extend:'Ext.List',
    xtype: 'personlist',
    requires: [
        'Ext.List',
        'Ext.form.FieldSet',
        'Ext.Button'

    ],

    config: {
              fullscreen:true,
              items: [
                       {
                         xtype:'toolbar',
                         docked:'top',
                         title:'iPolis',
                          items:[
                                      {
                                          ui:'back',
                                           icon:'home',
                                           iconCls:'home',
                                           iconMask:true,
                                            id: 'homebtn',
                                            handler:function ()
                                                   {
                                                    }
                                      },

                          ]
                       },

                         {
                    xtype : 'list',
                    store : 'personListStore',
                    itemTpl : '<div class="contact">HI <br/> {name}</div>'

                        }
                    }
              ]

    }
});

and the store is calling the file using:

 Ext.define('iPolis.store.personListStore', {
            extend: 'Ext.data.Store',
storeId:'personListStore',
            model : 'iPolis.model.personListModel',

            proxy : {
                type : 'ajax',
                url : '/users.json',
                reader: {
                    type: 'json',
                    rootProperty: 'users'
                }
            },
             autoLoad: true
    });

The code for my json file is:

{
    "users": [
       {
           "id": 1,
           "name": "Ed Spencer",
           "email": "ed@sencha.com"
       },
       {
           "id": 2,
           "name": "Abe Elias",
           "email": "abe@sencha.com"
       }
    ]
}

I am gettin a blank screen. I have tried everything but no data is displayed on the screen.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-02T01:38:15+00:00Added an answer on June 2, 2026 at 1:38 am
    Ext.define('iPolis.store.personListStore', {
        extend: 'Ext.data.Store',
        config:{
        model : 'iPolis.model.personListModel',
        storeId:'personListStore',
        proxy : {
            type : 'ajax',
            url : '/users.json',
            reader: {
                type: 'json',
                rootProperty: 'users'
            }
        },
         autoLoad: true  }  });
    

    try this may help you.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have created navigaton view using Sencha touch 2. Navigation view has list component
Using sencha touch 2, am trying to render a nestedlist with json proxy. The
I just started playing with Sencha Touch using Architect and I'm trying to populate
I'm using sencha touch and having problems with sorting a Ext.list by number via
I'm using Sencha Touch (ExtJS) to get a JSON message from the server. The
I am using http://dev.sencha.com/deploy/ext-4.0.7-gpl/examples/portal/portal.html to build a portal. Obviously, i have custom windows inside
I am trying to develop an iphone application using sencha framework .I need to
I am trying for the first time to theming my sencha project by using
EDITED I am using Sencha touch charts sample provided for column charts. The code
I'm using Sencha's Ext.data.Store to hold some items. Right now they come from an

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.