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

  • Home
  • SEARCH
  • 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 5953685
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 22, 20262026-05-22T17:51:41+00:00 2026-05-22T17:51:41+00:00

On a sencha-touch, here’s is my store declaration Ext.regStore(‘newsStore’, { model: ‘News’, autoLoad: true,

  • 0

On a sencha-touch, here’s is my store declaration

Ext.regStore('newsStore',  {
    model: 'News',
    autoLoad: true,
    proxy: {
        type: 'ajax',
        url: '../news/list.form?format=json',
        reader: {
            type: 'json',
            root: ''
        }
    },                        
});

How can I modify params? I tried

params:{ format: 'json'}

But its doesn’t work!

  • 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-05-22T17:51:42+00:00Added an answer on May 22, 2026 at 5:51 pm

    Store declaration

    new Ext.data.Store({
    model:'prj.models.ContactInfo',
    storeId:'contactInfoId',
    proxy:{
        type:'ajax',
        url:'/GetContactInfoByID',
        reader:{
            type:'json'
        },
        extraParams:{
            format:'json'
        },
        listeners:{
            exception:function(proxy, response, orientation){
                console.error('Failure Notification', response.responseText);
                Ext.Msg.alert('Loading failed', response.statusText);
            }
        }
    }   
    });
    

    Adding params to proxy and read ajax store

    prj.stores.contactInfoId.getProxy().extraParams.partyID = options.partyID;
    prj.stores.contactInfoId.getProxy().extraParams.eventName = options.eventName;
    prj.stores.contactInfoId.read();
    

    Hope this helps.

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

Sidebar

Related Questions

In a sencha touch 2 Ext.navigation.View , it is possible to push() and pop()
Here is my code: <script src=include/cordova.js type=text/javascript></script> <script src=include/sencha-touch-all.js type=text/javascript></script> <script type=text/javascript charset=utf-8 src=include/childbrowser.js></script>
I'm developing a Sencha Touch application in which I'm doing lots of Ext.extend and
Here is my Sencha view: Ext.application({ name: 'Sencha', launch: function() { var panel =
Here is my Sencha Touch 2 code which shows the JSON list data in
i am wondering about the 'refs' attribute of Sencha Touch class 'Ext.app.Controller'. I saw
I'm programming a Sencha Touch app with a moderately complex composition of Ext.TabBar with
I'm having a problem with Sencha Touch 2 and vbox flexing. Here is my
I'm totally new to sencha touch and extjs. Here is the scenario: Suppose you
In Sencha Touch, I often need to have an Ext.DataView panel that contains a

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.