Nov 19, 2011, 11:27 PM
deserializing gridfilters parameter with remote store
this could be my lack of knowledge in most things JSON, but is there a way to deserialize the gridfilters parameter that is submitted when you have your store configured to use an httpproxy?
when i specify a filter value for a grid filter (using GridFilter plugin), this is what i see in firebug:
I know i can create my own deserialization routine, but i'm thinking this is a common enough problem that there's a better way instead of rebuilding the wheel so to speak...
Hopefully one of you smart people have a good way to handle this off the top of your head......
THANKS!
when i specify a filter value for a grid filter (using GridFilter plugin), this is what i see in firebug:
Parametersapplication/x-www-form-urlencoded
gridfilters {"f_0_field":"Administrator_Name","f_0_data_type":"string","f_0_data_value":"k"}
Source
entity=Facility&gridfilters={"f_0_field"%3A"Administrator_Name"%2C"f_0_data_type"%3A"string"%2C"f_0_data_value"%3A"k"}
so i want to grab that request parameter in my proxy backend page and deserialize it into an object i can use to apply the filters to my sql query that populates the store.I know i can create my own deserialization routine, but i'm thinking this is a common enough problem that there's a better way instead of rebuilding the wheel so to speak...
Hopefully one of you smart people have a good way to handle this off the top of your head......
THANKS!
Last edited by geoffrey.mcgill; Nov 20, 2011 at 3:10 AM.
Reason: please use [CODE] tags