Skip to main content
1-Visitor
May 15, 2016
Question

opening a popup window on hyperlink click event within a grid in thingworxs

  • May 15, 2016
  • 2 replies
  • 9103 views

I have formatted a gird column to an html text like example

<div align="center" style="margin-right:10px; float:left; width:25px;height:25px;border:1px solid #000;">'+ '<a target="_blank" align="center" href="http://google.com">' + 15 + '</a>' +'</div>'

This shows a box in which there is a hyperlinked number, on click of that number it opens a google window in new window tab.

I would like to open a popup window within which i show a mashup(similar to navigation widget).

Is it possible???

    2 replies

    22-Sapphire I
    May 17, 2016

    If you know the context of the selection in your grid, then you can trigger Navigate on a Nav widget and get the pop-up effect. (Use selected row to set the link on the Nav widget)

    ng11-VisitorAuthor
    1-Visitor
    May 18, 2016

    I have two columns having a hyperlink, i need to open a pop up window similar to navigation widget depending on which column is clicked.

    I don't need a selected row event, i need to use the column click event. How is it possible?

    1-Visitor
    March 5, 2018

    Hello, I am having the same issue. Any link on how to do this ? 

    1-Visitor
    May 17, 2016

    It is possible. same as Pai Chung said, I gave selected row "vending position" as input parameter to nav widget.1.png2.png

    ng11-VisitorAuthor
    1-Visitor
    May 18, 2016

    Agreed...!!!!!!!

    But one of my column is a look a like of hyperlink. on click of hyperlink only(not row, its just the hyperlinked column) I need to launch a navigation widget window.

    if I use the in built, hyperlink option, it will not allow me to navigate to internal mashup's on a popup, it will always open in a new tab or replace the self.