DayPilot.Month.multiselect.redraw

The multiselect.redraw() method refreshes the event highlighting for the current multi-selection in the monthly calendar.

Declaration

DayPilot.Month.multiselect.redraw()

Parameters

This method has no parameters.

Notes

This method updates the calendar event highlighting according to the list of selected events.

Call it after a batch of DayPilot.Month.multiselect.add() and DayPilot.Month.multiselect.remove() operations that postpone the redraw until the end.

Example

dpm.multiselect.add(e1, true);
dpm.multiselect.add(e2, true);
dpm.multiselect.remove(e3, true);
dpm.multiselect.redraw();

See Also

DayPilot.Month.multiselect.add()

DayPilot.Month.multiselect.remove()

Event Selecting [doc.daypilot.org]

DayPilot.Month Class

Availability

Availability of this API item in DayPilot editions:

LitePro
DayPilot for JavaScript