Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #100683
    admin
    Keymaster
    Up
    0
    Down

    Is there a way to drag the gantt-chart tasks discretely amongst fixed points instead of continuously? What I want is something like the snap-to-nearest feature but with the option of customizing where those ‘snap-points’ are located.

    #100684
    Hristofor
    Member
    Up
    0
    Down

    Hi Ask26,
    Currently there’s isn’t an option to determine the dragging mode of the tasks. Timeline tasks are dragged freely.
    However I can suggest something that might be usefull in this situation. You can bind to the dragEnd event and if the desired dateStart/dateEnd from the dragging process is not what you need, you can change it via the updateTask method. Using this approach you can apply some kind of custom validation to the dateStart/dateEnd of a task after dragging is finished.
    Best Regards,
    Christopher
    Smart HTML Elements Team
    https://www.htmlelements.com

Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.