Prevent resizing but allow moving tasks in Dynamic Scheduling

Hello,

I would like to allow users to move tasks in the Gantt chart
but prevent them from changing the task duration.

What is the recommended way to enforce this behavior
in Dynamic Scheduling?

Should this be implemented via save handlers or custom allocation behavior?

I’m trying to achieve this using custom allocation behavior,
but I’m not sure how to implement it correctly, and I could not find
examples of how to structure the function for this use case.

Are there any examples of enforcing fixed duration while allowing shifts?

Thanks!