Unplanned
Last Updated: 29 Nov 2022 09:19 by ADMIN
Lennert
Created on: 21 Jul 2022 11:14
Category: Gantt
Type: Feature Request
7
Ability to customize the drag/drop and resize step of the Gantt Timeline tasks
Currently, tasks can be resized and dragged by hours and minutes. I want to be able to drag and resize them by whole days, so the user can directly snap the task to the beginning of the day and not somewhere in the middle. I am looking for behavior similar to this one.
2 comments
ADMIN
Nadezhda Tacheva
Posted on: 29 Nov 2022 09:19

Hi Lennert,

I am sorry that the lack of this feature is currently blocking for your customer. Unfortunately, this enhancement is not included in our near-term planning. We are prioritizing the component enhancement based on the community demand and we track the gathered votes to evaluate that. The near-term roadmap is currently committed with other features also requested by the community.

I was considering a possible custom solution to suggest in the meantime, so you are not blocked until the feature is implemented. The approach relies on forcing the task snapping to the beginning and end of the day.

When the user drops the task, the OnUpdate event of the Gantt is raised allowing you to handle the actual update of the item(task) in the data source. The event arguments provide the item details, including its start and end date and time. To force the task snapping, you may focus the update on the date portion only and ignore the time.

The drag target cannot be configured, but the above-listed approach will allow placing the task at the beginning of the day even if the user did not drop it at this exact time.

Can you please test this sample and let me know if this approach will suffice to cover your desired scenario for the time being: https://blazorrepl.telerik.com/QGPFmZut14aBX9tS10.

Thank you in advance!

Regards,
Nadezhda Tacheva
Progress Telerik

Love the Telerik and Kendo UI products and believe more people should try them? Invite a fellow developer to become a Progress customer and each of you can get a $50 Amazon gift voucher.

Lennert
Posted on: 22 Nov 2022 11:45
@Telerik Any update on when this will be picked up?
Our team is awaiting this feature for use in our application as it is currently blocking for our customer.