a2rdvark
28 Oct 2010, 2:36 AM
hello.
my problem is i want to store json string to Ext.data.store data type. but i don't know how.
i can get json string by using below code :
var jsonString;
Ext.util.JSONP.request({
url : 'http://...cross domain address...',
callbackKey : 'callback',
callback : function(data){
jsonString = data.results;
}
});
after this work how can i store jsonString to Ext.data.store or Ext.data.jsonstore?
thx for reading my question.
i'll wait your help
my problem is i want to store json string to Ext.data.store data type. but i don't know how.
i can get json string by using below code :
var jsonString;
Ext.util.JSONP.request({
url : 'http://...cross domain address...',
callbackKey : 'callback',
callback : function(data){
jsonString = data.results;
}
});
after this work how can i store jsonString to Ext.data.store or Ext.data.jsonstore?
thx for reading my question.
i'll wait your help