Forum



16:21

15/02/2012

Hi, I am sure this has been discussed before, but could someone please point me to an example?
I am looking to store the Grid state in a Session (not Cookie). So if the grid was on page 2 and the user leaves and then comes back to the grid page, the grid should remain on page 2. etc.
Thank you,
Sam
17:55

10/08/2009

I suppose you are .NET developer which use Web Forms. What you described about the user expirience can be realized not only withthe session state. The information from the session state will be permanently send to the server and returned from the server which decrease the performance. The user wants just to open the page with the same settings and the user needs to do this mostly on the computer in the same web browser. So one not need to send the grid state permanantly to the sever and from the server.
So I would recommend you to read some of my old answers: the answer, another one and probably this one too. Just try in the tree demos: this, this to set some filters, change column width or column order, select some rows then go to another page, close the web browser or reboot the computer. After that you can open the same demo one more time. You will see that the last grid sate will be restored. In this demo you can open some tree nodes and see that the list of the opened nodes will state after you refresh the page with F5. You will see that the list on the opened nodes will be the part of the grid state which will be automatically.
Best regards
Oleg
19:23

10/08/2009

Hello Sam,
the examples which I posted you before are all implemented in JavaScript. So you can use it if you want. I am not Java developer and not familiar with the implementation of Servlet/JSP or EJB session state. In the most cases the session state is either pure server state or will be permanently sent to the server and from the server. In any way the jqGrid as pure JavaScript client component can't help you to hold any such information on the server side. So I recommend you to use localStorage (see my previous answer).
Best regards
Oleg
Most Users Ever Online: 715
Currently Online:
64 Guest(s)
Currently Browsing this Page:
1 Guest(s)
Top Posters:
OlegK: 1255
markw65: 179
kobruleht: 144
phicarre: 132
YamilBracho: 124
Renso: 118
Member Stats:
Guest Posters: 447
Members: 11373
Moderators: 2
Admins: 1
Forum Stats:
Groups: 1
Forums: 8
Topics: 10592
Posts: 31289
Newest Members:
, razia, Prankie, psky, praveen neelam, greg.valainis@pa-tech.comModerators: tony: 7721, Rumen[Trirand]: 81
Administrators: admin: 66