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
»
loadstate from url
« previous
next »
Print
Pages: [
1
]
Author
Topic: loadstate from url (Read 2270 times)
queensgambit9
Pro Ultimate
Sr. Member
Posts: 341
loadstate from url
«
on:
February 10, 2020, 03:48:31 pm »
Trying to load state from query param...but it doesn't seem to work.
Also how can I set the loaded state as choosen in the states dropdown?
https://jsfiddle.net/queensgambit9/59n0bdLa/12/
Logged
paramvir
Administrator
Hero Member
Posts: 6309
Re: loadstate from url
«
Reply #1 on:
February 11, 2020, 09:59:56 am »
Sorry, it's not clear from the jsfiddle how you are trying to load state from a url.
Please share a sample url from which you are attempting to load state. Does url contain all the state data?
«
Last Edit: February 11, 2020, 01:19:19 pm by paramvir
»
Logged
queensgambit9
Pro Ultimate
Sr. Member
Posts: 341
Re: loadstate from url
«
Reply #2 on:
February 11, 2020, 05:06:09 pm »
No, Im trying to load an existing state from query param.
Ex, a state named 'test' exist in local storage.
I would then like to load it when query param is used:
www.example.com?
state=test
Logged
queensgambit9
Pro Ultimate
Sr. Member
Posts: 341
Re: loadstate from url
«
Reply #3 on:
February 11, 2020, 07:37:41 pm »
Btw, is it possible to share states by query params or any other way?
So that you can create a state and then send a link so that users can have same layout etc?
«
Last Edit: February 11, 2020, 07:39:48 pm by queensgambit9
»
Logged
Print
Pages: [
1
]
« previous
next »
ParamQuery grid support forum
»
General Category
»
Help for ParamQuery Pro
»
loadstate from url