how I add querystring in sencha touch?
?name=jake as
localhost/JSONDemo/XMLToJson.aspx?name=jake
My code is
Ext.regStore('NewsItems', {
model: 'NewsItem',
proxy: {
type: 'ajax',
url: 'XMLToJson.aspx',
reader: {
type: 'json',
root: 'liste.dokuman'
}
},
autoLoad: true
});
You can pass additional parameters using the
extraParamsproperty available with your proxy object. Here is an example: