View Full Version : Ext.Ajax.request properties

15 Feb 2012, 9:33 AM
In Designer, we have the Store, the Proxy and the Reader. For the Ext.Ajax.request()
function, I would like to be able to specify: method, headers, and rawData.

In Ext.data.proxy.Ajax proxy in developer I see properties for url and headers only.

I don't see properties for rawData or method. Also how would you specify the success
and failure methods for an Ajax request in Designer?

21 Feb 2012, 6:51 PM
Just as you would in typical Ext JS/Sencha Touch code.

Say it triggered based off of a button click, you would make the request in the event handler of the button click and then execute appropriate success or failure methods on the callback.