You want to "intercept" the sorting & paging requests, make the ajax call through your own mechanism, and then return the results to the grid. correct?
I did this in Ext 2.2. Extend the Ext.data.DataProxy and override the behaviors of load, loadResponse, and loadException.
We added a little extra sugar to the process. We allowed the load method to call an external method that we set up during the config. This allowed our business logic class to adjust any search parameters.
Thank you very much. This sounds like exactly what I need. When you say you allowed the load method to call and external method, this sounds like something I might need. You would not have an example I could look at would you?
ExtJS Store already allows making remote requests instead of paging the records locally. Its a configurable setting when you create the store.
Take a look at the remoteSort and remoteGroup (if you're using a GroupingStore) properties of the Store class.