Hi,
I'm using the multisearch facility of the grid – which works very well. But I'm also trying to save the search criteria on the server, so that when the page is reloaded it gets the search criteria from the server and the grid is filtered as it was. Saving the criteria on the server is no problem. Retreiving criteria from the server is also no problem. But If I try to set postData with the setGridParam method, by the time it gets to the server side some values are overwritten, filters for examle. I've also tried setting postData in beforeRequest but I can't seem to get the javascript correct. When beforeRequest is fired I need to make a call to the server to see if there is any serach criteria set, if so I need to retrieve it and set postData, but I can't seem to get it right. The call to server method that populates the grid is called before my call to the server to check if there's any search criteria already cached there.
So first of all is what I'm trying to achieve actually possible, if so, can someone guide me in the right direction please.
This is my beforeReuest function:
Copyright 2014 TriRand LtdAll Rights ReservedRSS
Back to Top