Welcome, Guest
Please Login or Register.    Lost Password?

Link to Grid Article with Session Variable
(1 viewing) (1) Guest
Welcome to the ToolsJX forum!


Go to bottom
Post Reply
Post New Topic
Page: 1
TOPIC: Link to Grid Article with Session Variable
#381
Link to Grid Article with Session Variable 1 Year, 10 Months ago Karma: 0
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?
Enter code here   
Please note: although no board code and smiley buttons are shown, they are still usable.
tslat
Fresh Boarder
Posts: 3
graphgraph
User Offline Click here to see the profile of this user
Reply Quote
 
#383
Re:Link to Grid Article with Session Variable 1 Year, 10 Months ago Karma: 1
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
Enter code here   
Please note: although no board code and smiley buttons are shown, they are still usable.
viljem
Admin
Posts: 181
graphgraph
User Offline Click here to see the profile of this user
Last Edit: 2010/03/26 03:11 By viljem.
Reply Quote
 
#410
Re:Link to Grid Article with Session Variable 1 Year, 9 Months ago Karma: 0
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.
Enter code here   
Please note: although no board code and smiley buttons are shown, they are still usable.
terip
Fresh Boarder
Posts: 1
graphgraph
User Offline Click here to see the profile of this user
Last Edit: 2010/04/14 00:05 By viljem.
Reply Quote
 
Go to top
Post Reply
Post New Topic
Page: 1
Moderators: tomaz
Tools JX, Powered by Joomla!; Joomla templates by SG web hosting