removes marking/blocking set by the addMarkedTimespan() method
config | string | object | the timespan's id or the timespan's configuration properties |
var spanID = scheduler.addMarkedTimespan({
days: [0,1],
zones: "fullday"
});
scheduler.deleteMarkedTimespan(spanID);
Available from version 3.5.
The method requires the limit plugin to be activated.
The method has 3 overloads:
var spanID = scheduler.addMarkedTimespan({
days: [3,4,5],
zones: [100,400]
});
// removes marking from each Sunday
scheduler.deleteMarkedTimespan({
days: 0,
});
//removes marking for the time period from 250 till 350 minute of each Friday
//each Friday now will have 2 marking blocks: 100-250, 350-400
scheduler.deleteMarkedTimespan({
days: 5,
zones: [250,350]
});
// removes marking for the item with id=3 in the Units view
scheduler.deleteMarkedTimespan({
days: 5,
zones: [250,350],
sections:{ unit:3 }
});