- Posts: 2
- Thank you received: 0
Would it be possible to supply the WHERE statement (of the select) for the grid (normally provided in the admin section that defines the grid) by URL?
Example: mysite.com/mygridpage&where="column1=value"
(not exactly urlencoded but I wanted to make a point)
This way you can do the same as a search but be more specific and create a menupage with options.
David P.
Please Log in or Create an account to join the conversation.
Hi,
I am sorry, but this is not possible and it could be a serious security issue. However you can set search conditions through url.
Example: mysite.com/mygridpage?s_f=searchfield&data_search=searchstring
If you want to set more specific where condition, you can always define more grid views in your administrator interface, and display them on several pages.
Regards,
Tomaž
Please Log in or Create an account to join the conversation.
How can be the WHERE statement if the parameter is in the URL?
Please Log in or Create an account to join the conversation.
Table JX processes the url and puts some parameters into where statement that is executed afterwards.
Please Log in or Create an account to join the conversation.
I can't get this to work:
www.woodpelletprice.com/beta/registratio...State&data_search=MA
My grid is is: www.woodpelletprice.com/beta/registration/new-grid-test and I'm trying to filter the State field which is referred to in the view (at the bottom)
Please Log in or Create an account to join the conversation.
Hi,
You didn't follow the syntax exactly.
Try this: www.woodpelletprice.com/beta/registratio...State&data_search=MA
http://www.woodpelletprice.com/beta/registration/new-grid-test?s_f=State&data_search=MA
Please Log in or Create an account to join the conversation.