- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎06-01-2017 09:39 AM
I'm working on using drag and drop to re-order Release Tasks. I've cloned the Data Table widget to include ng-sortable. So far I have drag working, but the drop isn't working. I get a placeholder and no errors in my console log. Are there any angular wizards who can assist with this?
When any tr element is used as drag handle, the row appears to follow the mouse, but there's no drop shadow appearing. When I release the element, it falls back to where it came from.
I'm attaching the widget with the ng-sortable dependencies with special thanks to ServiceNow Share item for Widget to Update Set UI Action.
I had to manually add some Order values to some of my rm_task records. Here are the widget instance properties:
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-10-2017 05:14 AM
It is! I was able to get it all working with some help from my A-Team.
I explain the solution we came up with here https://www.acorio.com/ui-sortable-servicenow-jakarta-widgets/
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎06-01-2017 11:09 AM
I was able to get this working by inspecting sources on Visual Task Boards and then creating a Widget Dependency to include /scripts/sn.dragdrop/ng_jqdnd_includes.js
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-10-2017 12:33 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-10-2017 05:14 AM
It is! I was able to get it all working with some help from my A-Team.
I explain the solution we came up with here https://www.acorio.com/ui-sortable-servicenow-jakarta-widgets/
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-25-2018 02:37 AM
Hi John,
I'm trying to replicate same in kingston but I'm not finding sn.dragdrop in my page or vtb's source code can you please help me with it.
Regards,
Nikhil Gadodiya