function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion

Drag/Drop Functionality

Hello Board,


I am displaying Job records in pageblocktable using list. Every Job has Prority field (Text field). Say first Job has priority as 1, seocnd job as 2 and so on..


I am looking for a functionality where use can drag-drop job up and down and change the prority of each job.

What would be the best way to achive this? Has anyone done something like this?





Hi Devendra,

you can use any javascript libraries like jQuery to implement this.
include the jQuery ui library in your visualforce page and you can add draggable and droppable events to any html content. 


Hi Devendra,


I am the same requirement did you solve your Drag & Drop functionality task. Please let me know any suggessions with sample code.



Thank you