Grid data url parameters

Use this board to ask questions or have discussions with other Rich Displays users.
Post Reply
sgagn0
Profound User
Posts: 41
Joined: Fri Aug 16, 2013 7:23 am
First Name: Sebastien
Last Name: Gagne
Company Name: Oceanex
Contact:

Grid data url parameters

Post by sgagn0 »

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.
Scott Klement
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

Post by Scott Klement »

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?
sgagn0
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

Post by sgagn0 »

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
Scott Klement
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

Post by Scott Klement »

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?
sgagn0
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

Post by sgagn0 »

You are right, I was looking at the wrong place.

Thanks
Post Reply

Who is online

Users browsing this forum: No registered users and 2 guests