Is there a way to pass parameters in a grid data url?
Ex: test.pgm?text=test
I would like to implement a dynamic customer search:
1) Textbox & grid on the page
2) Onkeyup in the textbox I would like to re-render the grid based on what is entered in the textbox
This would pretty much do the same thing as "choices url" of the textbox, but will allow us to use more features as the result would go in a grid instead of a list of values attached to the textbox.
Grid data url parameters
-
- Profound User
- Posts: 41
- Joined: Fri Aug 16, 2013 7:23 am
- First Name: Sebastien
- Last Name: Gagne
- Company Name: Oceanex
- Contact:
-
- Experienced User
- Posts: 2711
- Joined: Wed Aug 01, 2012 8:58 am
- First Name: Scott
- Last Name: Klement
- Company Name: Profound Logic
- City: Milwaukee
- State / Province: Wisconsin
Re: Grid data url parameters
I would think you could add parameters to the URL, just as you've described. Are you having trouble? What error message are you receiving?
-
- Profound User
- Posts: 41
- Joined: Fri Aug 16, 2013 7:23 am
- First Name: Sebastien
- Last Name: Gagne
- Company Name: Oceanex
- Contact:
Re: Grid data url parameters
I don't have any error message, but I do not receive the parameter in the request.
The url is: ...test_grid.pgm?text=test
And what I get is:
AUTH=FBD15BF5C276E36692155169A923E3841FCF05463B9F1999643094906544F5B5&q=dspf.Grid1&datfmt=1&datsep=1&timfmt=1&timsep=6&limit=6&start=1&getTotal=1
The url is: ...test_grid.pgm?text=test
And what I get is:
AUTH=FBD15BF5C276E36692155169A923E3841FCF05463B9F1999643094906544F5B5&q=dspf.Grid1&datfmt=1&datsep=1&timfmt=1&timsep=6&limit=6&start=1&getTotal=1
-
- Experienced User
- Posts: 2711
- Joined: Wed Aug 01, 2012 8:58 am
- First Name: Scott
- Last Name: Klement
- Company Name: Profound Logic
- City: Milwaukee
- State / Province: Wisconsin
Re: Grid data url parameters
The parameters you've provided (the string with AUTH=, q=, etc) are sent in the POST data, they are not sent in the URL. (Well, actually AUTH= is sent in both, but... the other ones are just in the POST data.)
Maybe you are looking in the wrong place?
Maybe you are looking in the wrong place?
-
- Profound User
- Posts: 41
- Joined: Fri Aug 16, 2013 7:23 am
- First Name: Sebastien
- Last Name: Gagne
- Company Name: Oceanex
- Contact:
Re: Grid data url parameters
You are right, I was looking at the wrong place.
Thanks
Thanks
Who is online
Users browsing this forum: No registered users and 2 guests