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

ThingWorx Navigate is now Windchill Navigate Learn More

Translate the entire conversation x

copy functionality in selecting the data in tree grid.

AP_10343008
16-Pearl

copy functionality in selecting the data in tree grid.

how to implement copy functionality in selecting the data in tree grid 

 

3 REPLIES 3

You mean a copy to clipboard functionality? If so there, is no such functionality yet: https://community.ptc.com/t5/ThingWorx-Ideas/New-widget-to-be-able-to-copy-data-to-the-clipboard/idi-p/616955

Okay Thanks

As I was interested I did adapt an existing widget-extension we have with CopyToClipboard. It just uses 'navigator.clipboard.writeText(copyText.value);' like described in https://www.w3schools.com/howto/howto_js_copy_clipboard.asp

 

nmutter_1-1682544693178.png

It is not "offical" yet, still in my fork. But if you want to give it a try: https://github.com/Death111/CopyToClipboardWidgetTWX  in Actions tab you can select the latest pipeline (current) run to download the extension (need to be logged in in github).

It did work fine in my test instance and Chrome. What I've read about the navigator.clipboad function is that it only works on https sites or localhost

Announcements


Top Tags