The contextMenuCard property specifies a context menu for Kanban cards. To enable and define a context menu use a DayPilot.Menu class.
Declaration
DayPilot.Kanban.contextMenuCardDefault Value
nullExamples
JavaScript
const kanban = new DayPilot.Kanban("dp", {
contextMenuCard: new DayPilot.Menu(),
// ...
});
kanban.init();Angular
<daypilot-kanban [config]="config"></daypilot-kanban>config: DayPilot.KanbanConfig = {
contextMenuCard: new DayPilot.Menu(),
// ...
};React
<DayPilotKanban
contextMenuCard={contextMenuCard}
{/* ... */}
/>const contextMenuCard = new DayPilot.Menu();Vue
<DayPilotKanban
:contextMenuCard="contextMenuCard"
<!-- ... -->
/>const contextMenuCard = new DayPilot.Menu();See Also
Availability
Availability of this API item in DayPilot editions:
| Product | Lite | Pro |
|---|---|---|
| DayPilot for JavaScript |
DayPilot