DayPilot.Gantt.contextMenuRow

DayPilot Menu object used for row context menu.  

Declaration

DayPilot.Gantt.contextMenuRow (DayPilot.Menu class)

Default Value

null

Example

dp.contextMenuRow = new DayPilot.Menu({items: [
  {text:"Show task ID", onclick: function() { alert("Task ID: " + this.source.id()); } },
  {text:"Delete task", onclick: function() { dp.tasks.remove(this.source);} }
]});