jqGrid save state with local json data
I need to persist the sort, filter and pagination state of a jqGrid that is loading the full data set from the server initially via JSON and then running locally from then on. I've tried jQGridState but was unable to get it to save anything but nulls (apparently I'm not alone). I've also tried the solution from Remember (persist) the filter, sort order and current page of jqGrid but was unable to get it to even create the cookie.
Has anyone worked through either开发者_运维知识库 of these solutions with local data or made something work another way?
thanks in advance...
Have you tried using jquery's cookie plugin. Here's an example of someone who got it working:
http://www.trirand.com/blog/?page_id=393/feature-request/Save%20state
精彩评论