Hi,
How can I change an event to a "Read Only" state which would mean that the event is not draggable, resizeable and changeable in any way? just "Read Only"?
I cannot see any property with an event like event.readonly = true;
Thanks
Aleix Vergés
There is an optional extension
docs.dhtmlx.com/doku.php?id=dhtm … donly_view
Samples of usage
Hi,
Defining the event as readonly doesn't blocks the drag 'n drop functionality. Doesn't it?
I would like to also block all the related event movements.
Thanks
Aleix Vergés
Can be done with few additional lines of code
scheduler.attachEvent("onBeforeDrag",function(id){
if (!id) return true;
return !scheduler.getEvent(id).readonly; //block drag for readonly events
})
Hi,
Thank you so much Stanislav. It works!
Aleix Vergés