bazzacad
Posts: 20
Joined: Mon Jun 26, 2017 9:00 pm

Can't drag & drop f.showDragHandles error with uniqueNames or nested data

I receive the following error when I try to drag one of my points with uniqueNames or when using nested data:
Uncaught TypeError: f.showDragHandles is not a function - draggable-points.src.js:1597
Demo: https://jsfiddle.net/bazzacad/87v3gb5n/10/
DragError1.gif
DragError1.gif (88.87 KiB) Viewed 643 times
DragErr2.gif
DragErr2.gif (98.04 KiB) Viewed 643 times
magdalena
Posts: 517
Joined: Tue Aug 24, 2021 1:32 pm

Re: Can't drag & drop f.showDragHandles error with uniqueNames or nested data

Hi,

Thank you for contacting us with your issue!

The names can be repeatable and you set them correctly, but the ids have to be unique for each point. Check the config in the following demo - the dragging works correctly now:

Demo:
https://jsfiddle.net/BlackLabel/vcngsfdo/

Let me know if you have any further questions,
Regards!
Magdalena Gut
Developer and Highcharts Support Engineer

Return to “Highcharts Gantt”