The multiselect.isSelected() method determines whether an event is currently selected. It returns true if the event is part of the current selection.
Declaration
DayPilot.Scheduler.multiselect.isSelected(e)Parameters
e(DayPilot.Event) - item to check
Return Value
Returns true if the specified event is in the current multi-selection; otherwise it returns false.
Example
const isSelected = dp.multiselect.isSelected(e)See Also
DayPilot.Scheduler.multiselect.get()
DayPilot.Scheduler.multiselect.remove()
Event Selecting [doc.daypilot.org]
Availability
Availability of this API item in DayPilot editions:
| Product | Lite | Pro |
|---|---|---|
| DayPilot for JavaScript |
DayPilot