Forum

November 2nd, 2014
A A A
Avatar

Lost password?
Advanced Search

— Forum Scope —




— Match —





— Forum Options —





Minimum search word length is 3 characters - maximum search word length is 84 characters

The forums are currently locked and only available for read only access
sp_Feed Topic RSS sp_TopicIcon
Remembering Grid State
24/08/2008
18:28
Avatar
Reg
Calgary, Canada
Member
Members
Forum Posts: 92
Member Since:
06/06/2008
sp_UserOfflineSmall Offline

Hi Tony,

I like the ability to start a page with the grid hidden (i.e collapsed to the caption layer) — it saves a lot of time when there are a lot of grids on the page and the operator is likely only going to want to work with one of them.

What I need now however, is some way of remembering whether a particular grid is opened or closed.

The situation is this; the operator comes to a page with a number of closed grids, opens one, selects an item to work with in another page (so this page containing these grids is lost); then comes back to the page of grids to select another item from the same grid. But now the grid is closed again, and that gets annoying.

Any ideas?

Thanks

Reg

25/08/2008
03:33
Avatar
tony
Sofia, Bulgaria
Moderator
Members

Moderators
Forum Posts: 7721
Member Since:
30/10/2007
sp_UserOfflineSmall Offline

Hello Reg, 

There is no chance to do that when the page is reloaded, but you can

try not to close the page, but to hide it-  this way when the user try to come back you should check only if the page is already here and show it

For professional UI suites for Java Script and PHP visit us at our commercial products site - guriddo.net - by the very same guys that created jqGrid.

25/08/2008
18:13
Avatar
Reg
Calgary, Canada
Member
Members
Forum Posts: 92
Member Since:
06/06/2008
sp_UserOfflineSmall Offline

Hi Tony,

I figured out that when a closed grid is opened, then (assuming that the data is xml or json) there is an ajax call to the server to get the data, and I can record that the grid is now opened, so I am half-way there. But there is no way to record that it has been closed again.

So, if I may, I would like to request an "onclose" method for the grid that allows us to specify an action to be taken (I am thinking, of course, of an ajax call to tell the server but someone else might want to create or update a cookie).

No rush, this is not a show-stopper for me.

Thanks

Reg

26/08/2008
03:36
Avatar
tony
Sofia, Bulgaria
Moderator
Members

Moderators
Forum Posts: 7721
Member Since:
30/10/2007
sp_UserOfflineSmall Offline

Hello Reg,

This really very interesting recommendation. Since we use toggle

function for this, there will be a possible to define events when

the grid opened or closed.

Thank you

Regards

Tony

For professional UI suites for Java Script and PHP visit us at our commercial products site - guriddo.net - by the very same guys that created jqGrid.

Forum Timezone: Europe/Sofia

Most Users Ever Online: 715

Currently Online:
18 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.com

Moderators: tony: 7721, Rumen[Trirand]: 81

Administrators: admin: 66

Comments are closed.
Privacy Policy   Terms and Conditions   Contact Information