<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: how to develop &amp;quot;drag and drop&amp;quot; functionality in Thingworx as Extension widget in Mashu in ThingWorx Developers</title>
    <link>https://www.ptcusercommunity.com/t5/ThingWorx-Developers/how-to-develop-quot-drag-and-drop-quot-functionality-in/m-p/686692#M47727</link>
    <description>&lt;P&gt;We've created one with sortableJS (&lt;A href="https://sortablejs.github.io/Sortable/" target="_blank"&gt;https://sortablejs.github.io/Sortable/&lt;/A&gt;) and it was pretty easy.&amp;nbsp; They have a 'shared lists' example on their website.&lt;/P&gt;</description>
    <pubDate>Wed, 09 Sep 2020 20:47:20 GMT</pubDate>
    <dc:creator>nmilleson</dc:creator>
    <dc:date>2020-09-09T20:47:20Z</dc:date>
    <item>
      <title>how to develop "drag and drop" functionality in Thingworx as Extension widget in Mashup?</title>
      <link>https://www.ptcusercommunity.com/t5/ThingWorx-Developers/how-to-develop-quot-drag-and-drop-quot-functionality-in/m-p/685198#M47610</link>
      <description>&lt;P&gt;Hi community,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;we were want to develop drag and drop functionality in "Grid Advanced" widget as part of Thingworx Extension widget.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Background:&lt;/P&gt;
&lt;P&gt;1. Thingworx version-8.5&lt;/P&gt;
&lt;P&gt;2. Drag and drop item or row from one table or panel to other in view mode of Mashup.&lt;/P&gt;
&lt;P&gt;3. wanted to develop as extension widget.&lt;/P&gt;
&lt;P&gt;4. widget "Grid Advanced" table rows, can be develop as drag and drop functionality in Mashup(view mode)&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Inspired by below post:&lt;/P&gt;
&lt;P&gt;&lt;A href="https://material.angular.io/cdk/drag-drop/overview" target="_blank"&gt;https://material.angular.io/cdk/drag-drop/overview&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I have few queries below please address those:&lt;/P&gt;
&lt;P&gt;1. Is it possible to create drag and drop functionality in existing or new widgets. If yes then what the way to achieve.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Example: Drag one row from one widget(Grid Advanced) to other widget table in mashup (view mode).&lt;/P&gt;
&lt;P&gt;2. Is it possible to develop this "Drag and drop" functionality as extension widget. If yes then what would be the way.&lt;/P&gt;
&lt;P&gt;Example: Drag selected field/box from one panel/table to other in mashup (view mode).&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Enclosed screenshot of grid table in View-Mode, wanted to drag&amp;amp;drop rows to and fro from table 1,2,3 respectively.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Help would be appreciated, Thanks in Advance. &lt;LI-EMOJI id="lia_slightly-smiling-face" title=":slightly_smiling_face:"&gt;&lt;/LI-EMOJI&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Regards,&lt;/P&gt;
&lt;P&gt;Mayank&lt;/P&gt;</description>
      <pubDate>Tue, 01 Sep 2020 10:37:01 GMT</pubDate>
      <guid>https://www.ptcusercommunity.com/t5/ThingWorx-Developers/how-to-develop-quot-drag-and-drop-quot-functionality-in/m-p/685198#M47610</guid>
      <dc:creator>MayankSharma20</dc:creator>
      <dc:date>2020-09-01T10:37:01Z</dc:date>
    </item>
    <item>
      <title>Re: how to develop "drag and drop" functionality in Thingworx as Extension widget in Mashu</title>
      <link>https://www.ptcusercommunity.com/t5/ThingWorx-Developers/how-to-develop-quot-drag-and-drop-quot-functionality-in/m-p/686692#M47727</link>
      <description>&lt;P&gt;We've created one with sortableJS (&lt;A href="https://sortablejs.github.io/Sortable/" target="_blank"&gt;https://sortablejs.github.io/Sortable/&lt;/A&gt;) and it was pretty easy.&amp;nbsp; They have a 'shared lists' example on their website.&lt;/P&gt;</description>
      <pubDate>Wed, 09 Sep 2020 20:47:20 GMT</pubDate>
      <guid>https://www.ptcusercommunity.com/t5/ThingWorx-Developers/how-to-develop-quot-drag-and-drop-quot-functionality-in/m-p/686692#M47727</guid>
      <dc:creator>nmilleson</dc:creator>
      <dc:date>2020-09-09T20:47:20Z</dc:date>
    </item>
    <item>
      <title>Re: how to develop "drag and drop" functionality in Thingworx as Extension widget in Mashu</title>
      <link>https://www.ptcusercommunity.com/t5/ThingWorx-Developers/how-to-develop-quot-drag-and-drop-quot-functionality-in/m-p/686729#M47732</link>
      <description>&lt;P&gt;Thank you so much..!&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;All example and code will help. I saw grid cell only have example it doesn't have code snippet in repo.&lt;/P&gt;
&lt;P&gt;Apart grid all things definitely be helpful in repository.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Regards,&lt;/P&gt;
&lt;P&gt;Mayank&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 10 Sep 2020 05:56:52 GMT</pubDate>
      <guid>https://www.ptcusercommunity.com/t5/ThingWorx-Developers/how-to-develop-quot-drag-and-drop-quot-functionality-in/m-p/686729#M47732</guid>
      <dc:creator>MayankSharma20</dc:creator>
      <dc:date>2020-09-10T05:56:52Z</dc:date>
    </item>
    <item>
      <title>Re: how to develop "drag and drop" functionality in Thingworx as Extension widget in Mashu</title>
      <link>https://www.ptcusercommunity.com/t5/ThingWorx-Developers/how-to-develop-quot-drag-and-drop-quot-functionality-in/m-p/686820#M47750</link>
      <description>&lt;P&gt;&lt;a href="https://www.ptcusercommunity.com/t5/user/viewprofilepage/user-id/314369"&gt;@MayankSharma20&lt;/a&gt;&amp;nbsp;after re-reading your question, our sortablejs widget is a bit different.&amp;nbsp; We used it for re-ordering lists by drag-and-drop.&amp;nbsp; I still think sortablejs (or another similar library) would get you what you need.&amp;nbsp; I'm unfortunately not able to share the code at this time (developed as part of a customer project);&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You should be able to use sortablejs on any type of element (&amp;lt;tr&amp;gt; in your case).&amp;nbsp; I usually try and create a small html snippet first as a proof of concept before I try and code it as a ThingWorx widget so that may be a good next step.&lt;/P&gt;</description>
      <pubDate>Thu, 10 Sep 2020 12:28:19 GMT</pubDate>
      <guid>https://www.ptcusercommunity.com/t5/ThingWorx-Developers/how-to-develop-quot-drag-and-drop-quot-functionality-in/m-p/686820#M47750</guid>
      <dc:creator>nmilleson</dc:creator>
      <dc:date>2020-09-10T12:28:19Z</dc:date>
    </item>
    <item>
      <title>Re: how to develop "drag and drop" functionality in Thingworx as Extension widget in Mashu</title>
      <link>https://www.ptcusercommunity.com/t5/ThingWorx-Developers/how-to-develop-quot-drag-and-drop-quot-functionality-in/m-p/687003#M47761</link>
      <description>&lt;P&gt;your right actually we have created drag n drop horizontal cells on angular using ng-prime on vscode, it has files like .ts, .html, .css, .js, .map. and I had created build of it using ng build which create in dist folder, In Locally using node command prompt. and able to access drag n drop functionality using browser.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;But now i have no clue how can be convert/package this to widget extension which can be use in thingworx post import.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;As angular project src/ and app/ folder has many component but not much aware how to convert those to Thingworx widget specific folder to create extension.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I am following some below URL but not getting actual steps to do:&lt;/P&gt;
&lt;P&gt;&lt;A href="https://community.ptc.com/t5/IoT-Tech-Tips/Integrating-AngularJS-with-ThingWorx/m-p/534655" target="_blank"&gt;https://community.ptc.com/t5/IoT-Tech-Tips/Integrating-AngularJS-with-ThingWorx/m-p/534655&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&lt;A href="http://support.ptc.com/help/thingworx_hc/visual_sdk/" target="_blank"&gt;http://support.ptc.com/help/thingworx_hc/visual_sdk/&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Once this achieve i will try same thing with grid cell.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 11 Sep 2020 10:44:59 GMT</pubDate>
      <guid>https://www.ptcusercommunity.com/t5/ThingWorx-Developers/how-to-develop-quot-drag-and-drop-quot-functionality-in/m-p/687003#M47761</guid>
      <dc:creator>MayankSharma20</dc:creator>
      <dc:date>2020-09-11T10:44:59Z</dc:date>
    </item>
    <item>
      <title>Re: how to develop "drag and drop" functionality in Thingworx as Extension widget in Mashu</title>
      <link>https://www.ptcusercommunity.com/t5/ThingWorx-Developers/how-to-develop-quot-drag-and-drop-quot-functionality-in/m-p/1041949#M70827</link>
      <description>&lt;P&gt;hi &lt;a href="https://www.ptcusercommunity.com/t5/user/viewprofilepage/user-id/314369"&gt;@MayankSharma20&lt;/a&gt;, have you created this widget extension for this goal? If yes would you please share that to us as i have same requirement to have drag and drop functionality. I have only around 10 entries and would like to drag and drop. thank you&amp;nbsp; &amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 05 Nov 2025 13:09:30 GMT</pubDate>
      <guid>https://www.ptcusercommunity.com/t5/ThingWorx-Developers/how-to-develop-quot-drag-and-drop-quot-functionality-in/m-p/1041949#M70827</guid>
      <dc:creator>MA8731174</dc:creator>
      <dc:date>2025-11-05T13:09:30Z</dc:date>
    </item>
  </channel>
</rss>

