I am trying to validate drag and drop and resize of events on a particular row.
I right click on a resource to stop the reorder feature.
Also, I should be able to stop resize and drag for all events on a particular resource and prevent any event to be dragged on the same.
I am using below code to stop row reordering.
rowReorderFeature = {
listeners: {
gridRowBeforeDragStart: function(event){
const context = event.context,
record = this.grid.getRecordFromElement(context.element);
return !record.flagged;
}
}
}