https://antibiotiqueaugmentin.com/surdosage-augmentin-bebe/
× Welcome to the ToolsJX forum!


Link to Grid Article with Session Variable

More
14 years 1 month ago #381

I would like to pass a variable through the Link feature to a new grid that will only show data based on the variable that is passed through. Is this possible?

Is it possible to do this in a popup window?

Please Log in or Create an account to join the conversation.

More
14 years 1 month ago #383

Hi,

this is not a part of TableJX features. For now you can pass variable through URL link and this would cause execution of SQL on the same grid filtered by your variable.

But if you slightly change the code you can also do that what you have been describing.

1. When you specify url link you have to add to html tag something like target="_blank" This would open a popup window.

2. Then you have to add id of the record in another table through url, ?data_search="+id+"&s_f=1 (s_f would describe what field is id in detailed grid

3. Finally you create article with detailed grid

So when you click on link in master grid record, the link would open popup window and pass id variable through URL of the article where detailed grid is. Ajax feature would automatically filter detailed grid with the id you have specified (simple foreign key).

This feature is not yet implemented. Firstly because for now there is not enough interst for that.

Best regards,
Viljem

Last edit: 14 years 1 month ago by user62.

Please Log in or Create an account to join the conversation.

More
14 years 2 weeks ago #410

This is exactly what I am looking for. Show a portion of the record in the grid and when you click on the record id it opens the full record in a list, not grid format.

Last edit: 14 years 2 weeks ago by user62.

Please Log in or Create an account to join the conversation.

Moderators: tomaz
Time to create page: 0.167 seconds

Contact Us

Contact us on Discord

Contact us on Facebook