ParamQuery Grid
Welcome,
Guest
. Please
login
or
register
.
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
Home
Help
Search
Login
Register
ParamQuery grid support forum
»
General Category
»
Help for ParamQuery Pro
»
Save State Name
« previous
next »
Print
Pages: [
1
]
Author
Topic: Save State Name (Read 1987 times)
omerix
Pro Enterprise
Full Member
Posts: 148
Save State Name
«
on:
June 07, 2017, 05:05:11 pm »
"A.asp" I record the placement on the page. Later. "B.asp" I record the placement on the page. When I return the "a.asp" page, the layout changes.
How can I point to different places on each page?
Logged
paramvir
Administrator
Hero Member
Posts: 6310
Re: Save State Name
«
Reply #1 on:
June 07, 2017, 11:02:19 pm »
The grid state is saved as key name of "pq-grid"+(id of grid) in the local storage, so every grid has a single unique state.
If you need to store number of states corresponding to a single grid, then you can do it yourself by calling
Code:
[Select]
localStorage.setItem("some key name" , grid.saveState( false) );
https://paramquery.com/pro/api#method-saveState
Logged
omerix
Pro Enterprise
Full Member
Posts: 148
Re: Save State Name
«
Reply #2 on:
June 08, 2017, 11:06:51 am »
Thank you. Fixed.
Logged
Print
Pages: [
1
]
« previous
next »
ParamQuery grid support forum
»
General Category
»
Help for ParamQuery Pro
»
Save State Name