The update() method updates and redraws the Queue component. You can either change the properties directly and call update(), or pass the changes using the optional options argument.
DayPilot.Queue.update([options])options (object) - optional object with properties and event handlers to update
The options object can specify any of the standard DayPilot.Queue Properties and DayPilot.Queue Events.
This method cannot be called after the component has been disposed using DayPilot.Queue.dispose(). In that case, an exception will be thrown.
Within the options object, the special events property updates the event array and is translated to DayPilot.Queue.events.list.
Update the component after changing a property directly:
dp.lineSpace = 5;
dp.update();Or pass the changes using the optional options argument:
dp.update({
lineSpace: 5
});