DayPilot.Gantt.contextMenuLink

DayPilot Menu object used for link menu.  

Declaration

DayPilot.Gantt.contextMenuLink (DayPilot.Menu class)

Default Value

null

Example

gantt.contextMenuLink = new DayPilot.Menu({items: [
  {text:"Show link ID", onclick: function() { alert("Link ID: " + this.source.data.id);} },
  {text:"Delete link", onclick: function() { gantt.links.remove(this.source);} }
]});