cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

Community Tip - You can subscribe to a forum, label or individual post and receive email notifications when someone posts a new topic or reply. Learn more! X

opening a popup window on clicking the column of advanced grid

YS_10134308
11-Garnet

opening a popup window on clicking the column of advanced grid

Hello,

 

I referred the following link - 

https://www.ptc.com/en/support/article/CS281359 - ptc support link

to add a clickable image in the column of the grid , on clicking the image icon it redirects us to the mashup whose URL is provided and opens the mashup in the new window ,, Now I want that mashup should be displayed as a popup in the same window.

I am attaching the screenshots of the same .

 

Is there any way by which a popup window opens ??

Thanks in advance.

6 REPLIES 6
slangley
23-Emerald II
(To:YS_10134308)

Hi @YS_10134308.

 

Which version of ThingWorx are you running?  The latest releases have several options for hyperlinks.

 

Regards.

 

--Sharon

 

slangley
23-Emerald II
(To:slangley)

Hi @YS_10134308.

 

What version of ThingWorx are you running?

 

--Sharon

Hii
I am using version 9
slangley
23-Emerald II
(To:slangley)

Hi @YS_10134308.

 

I assume you're not running 9.3 since the Grid Advanced was replaced in that version with a new grid widget.

 

Are you seeing any errors?  You can run the dev tools in your browser for determining more regarding the failure.

 

Regards.

 

--Sharon

TonyZhang
14-Alexandrite
(To:YS_10134308)

Hi @YS_10134308 

 

You can embed onclick event in the HTML string for a element.

Use window.open method and specify 'popup' for the windowFeatures argument

Please refer to MDN document: https://developer.mozilla.org/en-US/docs/Web/API/Window/open

 

<a onclick="window.open('MashupURL', 'window_name', 'popup');"><img src=/Thingworx/MediaEntities/xxx style=width:xx;height:xx;/></a>

 

Regards,

Tony

Hello,
I tried this , but it's not working.
Announcements


Top Tags