- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Get Direct Link
- Report Inappropriate Content
Hyperlinks to Table box rows
Hi,
Is there a way to add hyperlinks to the table box rows?
Names Default To Here( 1 );
dt = Open( "$SAMPLE_DATA/Cities.jmp", invisible );
New Window( "", dtb = Data Table Box( dt ) );
:Latitude << Set Property(
"Event Handler",
Event Handler(
Click(JSL Quote(
Function( {thisTable, thisColumn, iRow},
Web(
"https://www.google.com/maps/@" || Char( thisTable:latitude[irow] ) || "," ||
Char( thisTable:longitude[irow] ) || ",12z"
)
)) ,
Tip( JSL Quote(Function( {thisTable, thisColumn, iRow}, "Open " || Char ( thisTable:iMVInumber[ iRow ] ) || " in your browswer."; ); ) ),
Color( JSL Quote( Function( {thisTable, thisColumn, iRow}, 5;); ) )
)
)
);
dtb << set selectable rows( 1 );
3 REPLIES 3
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Get Direct Link
- Report Inappropriate Content
Re: Hyperlinks to Table box rows
I think you might have to use Col Box with Button Boxes
Names Default To Here(1);
New Window("Example",
Table Box(
String Col Box("strings", {"x", "y", "z"}),
Col Box(
"boxes",
Button Box("JMP", Web("www.jmp.com"), << Underline Style(1)),
Button Box("Google", Web("www.google.com"), << Underline Style(1)),
)
);
);
-Jarmo
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Get Direct Link
- Report Inappropriate Content
Re: Hyperlinks to Table box rows
Thanks @jthi.
I am unable to get the row values in the web link. Can you share an example to get the row values in the web() function?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Get Direct Link
- Report Inappropriate Content
Re: Hyperlinks to Table box rows
You wish to know how to build Table Box with hyperlinks using same example as in your first post? Should the table box contain all the columns from data table or only the coordinates / name of the city?
-Jarmo