Hyperlinks to Table box rowsHi,
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 );Automation and ScriptingRe: Hyperlinks to Table box rowsI 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)),
)
);
);Re: Hyperlinks to Table box rowsYou 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?
Re: Hyperlinks to Table box rowsThanks @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?