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 7928099
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 3, 20262026-06-03T19:38:51+00:00 2026-06-03T19:38:51+00:00

i had a jsonStore like this var ch01_store = new Ext.data.JsonStore({ autoLoad:true, storeId: ‘ch01_store’,

  • 0

i had a jsonStore like this

var ch01_store = new Ext.data.JsonStore({
        autoLoad:true,

        storeId: 'ch01_store',
        proxy: new Ext.data.HttpProxy({
            url: 'index.php/test/get_ch01/10',
            method: 'POST'
        }),
        root: 'data',
        totalProperty: 'results',
        remoteSort: true,
        fields: [
            {name: 'date_time', mapping: 'date_time'},
            {name: 'chart_data', mapping: 'chart_data'}
        ]
    });

and the “localhost/myweb/index.php/test/get_ch01/10” url is resulting this on the page

   {
   "success": true,
   "results": 10,
   "data": [{
         "date_time": "5/12/2012 13:13:33",
         "chart_data": "3.5"
      },
      {
         "date_time": "5/12/2012 13:13:34",
         "chart_data": "0.0"
      },
      {
         "date_time": "5/12/2012 13:13:35",
         "chart_data": "3.5"
      },
      {
         "date_time": "5/12/2012 13:13:36",
         "chart_data": "0.0"
      },
      {
         "date_time": "5/12/2012 13:13:4",
         "chart_data": "0.0"
      },
      {
         "date_time": "5/12/2012 13:13:5",
         "chart_data": "3.5"
      },
      {
         "date_time": "5/12/2012 13:13:6",
         "chart_data": "0.0"
      },
      {
         "date_time": "5/12/2012 13:13:7",
         "chart_data": "3.5"
      },
      {
         "date_time": "5/12/2012 13:13:8",
         "chart_data": "0.0"
      },
      {
         "date_time": "5/12/2012 13:13:9",
         "chart_data": "3.5"
      }
   ]
}

but when i’m execute

console.log(ch01_store.getCount()); 

the log show zero
and I’m trying to populate it on a gridPanel, the result is still empty, can anyone help me?

  • 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-03T19:38:52+00:00Added an answer on June 3, 2026 at 7:38 pm

    Set Proxy like this and try:

    proxy: {
        type: 'ajax',
        reader: {
            type: 'json',
            root: 'xxxxxx'
            }
    }
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Had this interesting question being asked today and the arguments varied from Proxy to
Had this working; at one stage. The problem is the following text is now
I've had this problem for awhile now, but I keep narrowing down the issue
Had no luck getting this to work via what I found on google.
Had a search around and can't seem to find any options to do this,
Had this: rtable.insert ( pair<string,string>(destination,nhop) ); // route insertion return 0; Changed it to
Had a quick google to see if this can be done without much luck,
Had a bit of a is this real life moment. Why are we naming
Had another thread regarding this but it wasn't resolved probably because I wasn't very
Had a headace trying to get this to work, im trying to set up

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.