Purdue_Pete
asked on
ExtJS Grid Store HTML
Hi,
I would like to get 3rd party html and load it into a store. Is this possible? If so, kindly post sample code.
If not, what workarounds are possible? Data cannot be returned in XML or JSON.
Here are some ways I tried, but failed:
Way #1:
Ext.Ajax.request({
method:'GET',
url: 'http://wwww.gooogl.com',
success: function(response, request){
alert(response.responseTex t);
this.store = response.responseText;
}
});
Way #2:
this.store = new Ext.data.Store({
proxy: new Ext.data.HttpProxy({
url: 'http://wwww.gooogl.com'
})
});
I would like to get 3rd party html and load it into a store. Is this possible? If so, kindly post sample code.
If not, what workarounds are possible? Data cannot be returned in XML or JSON.
Here are some ways I tried, but failed:
Way #1:
Ext.Ajax.request({
method:'GET',
url: 'http://wwww.gooogl.com',
success: function(response, request){
alert(response.responseTex
this.store = response.responseText;
}
});
Way #2:
this.store = new Ext.data.Store({
proxy: new Ext.data.HttpProxy({
url: 'http://wwww.gooogl.com'
})
});
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.