vis-timeline
vis-timeline copied to clipboard
Enable range item editing except change start and end time
How can I disable the manipulation of its duration in an range item, allowing to move it, but not change its duration?
Is that possible? I cant see this option
// enable or disable all manipulation actions
var options = {
editable: true // true or false
};
// enable or disable individual manipulation actions
var options = {
editable: {
add: true, // add new items by double tapping
updateTime: true, // drag items horizontally
updateGroup: true, // drag items from one group to another
remove: true, // delete an item by tapping the delete button top right
overrideItems: false // allow these options to override item.editable
}
};
+1
also need that behavior.
updateTime should be separated to 2 flags.
+1
this would be really handy for my use case, to rearrange items which have all a fixed duration because of the fixed data they represent.