Skip to main content
13-Aquamarine
January 27, 2023
Solved

Add TriggerClick to extension widget

  • January 27, 2023
  • 3 replies
  • 1661 views

Hello All,

I have create an extension widget already and I want to add TriggerClick like default ptcs-button to my extension widget

triggerclick.png

please suggestion 

thankyou

 

 

Best answer by nmutter

Hey Chanin,

feel free to get inspired from my extension. I have to events defined 'ClearSelectedRows' and 'SelectAllRows'. See code here https://github.com/doubleSlashde/InfotableInspectorWidgetTWX/blob/main/ui/infotableinspector/infotableinspector.ide.js#L42

and the other files

Hope that helps!

3 replies

5-Regular Member
January 31, 2023

Hello @Chanin 

 

Can you pls share the version of ThingWorx that you are using?

 

Regards

Bhawna

Chanin13-AquamarineAuthor
13-Aquamarine
February 1, 2023

Hello @bchaudhary_448008 

 

I'm using Thingworx version 8.5 and Eclipse IDE to compile the widget.

Please suggest and thank you for your replay

 

Regrads

Chanin

7-Bedrock
March 2, 2023

Hello @Chanin ,

 

Can you please provide me little bit more details on your request please. Are you trying to setup the default button that triggered on particular event? If possible can you please send me the Test XML file of the Mashup. 

 

Waiting for your kind reply. 

 

Thanks & Regards, 

Surbhi Patel

Chanin13-AquamarineAuthor
13-Aquamarine
March 3, 2023

I can already add a triggerClick in extension widget, anyway thanks you sir.

nmutter16-PearlAnswer
16-Pearl
March 2, 2023

Hey Chanin,

feel free to get inspired from my extension. I have to events defined 'ClearSelectedRows' and 'SelectAllRows'. See code here https://github.com/doubleSlashde/InfotableInspectorWidgetTWX/blob/main/ui/infotableinspector/infotableinspector.ide.js#L42

and the other files

Hope that helps!

Chanin13-AquamarineAuthor
13-Aquamarine
March 3, 2023

thanks you @nmutter, i can add triggerClick already.