Page 1 of 1

Grid data url parameters

Posted: Wed Nov 06, 2013 11:27 am
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.

Re: Grid data url parameters

Posted: Wed Nov 06, 2013 1:17 pm
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?

Re: Grid data url parameters

Posted: Thu Nov 07, 2013 8:28 am
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

Re: Grid data url parameters

Posted: Thu Nov 07, 2013 4:31 pm
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?

Re: Grid data url parameters

Posted: Fri Nov 08, 2013 8:35 am
by sgagn0
You are right, I was looking at the wrong place.

Thanks