Can anybody tell me how to stop dragging / resizing the events where event.id > 100
? Only those events should be non draggable.
Updated with Code Sample:
eventRender: function(event, element) {
if (event.id > 100) {
event.disableDragging();
event.disableResizing();
}
element.qtip({
content: GetEventToolTip(event),
position: { corner: { tooltip: 'bottomLeft', target: 'topMiddle'} },
style: {
border: {
width: 1,
radius: 5
},
padding: 5,
textAlign: 'left',
tip: false,
name: event.iscustom == 'True' ? 'cream' : 'dark'
}
});
}
Thanks.
eventRender: function(event, element) {
if (event.id.indexOf("IDENTIFYING_STRING") == -1)
{
event.editable = false;
}
}
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With