Thank you for reporting this bug. We will make it our priority to review this report.
[FIXED-EXTJSIV-390] - Sort on Grid with DirectProxy
When I created a GridPanel with DirectProxy, and with remoteSort: true, if the sort column is clicked, the json of the RPC call to the server looks like:
Other paramters are all correct, but the "sort" property is passed as a json string rather than json object.
So on the server side it will be interpreted as a String and cannot deserialize the "property" and "direction" property of the sort.
I think it is a bug: "sort" property should be passed as json object.
You may be interested in my post here.
Will be fixed in the next release, thanks.
Similar approach as @westy, but I created a template method for subclasses to override instead of encoding/decoding the value.
Twitter - @evantrimboli