DayPilot.Gantt.onRowEdit

Fired when the user finished inline row editing, before the default RowEdit action (specified by rowEditHandling property).

The default action can be canceled by calling args.preventDefault().

Arguments

  • args.task - holds a DayPilot.Task object representing the task
  • args.newText (string) - new text provided by the user
  • args.preventDefault() - cancels the default action

Example

dp.onRowEdit = function(args) {
  alert("Renaming task to: " + args.newText);
};

DayPilot for JavaScript, ASP.NET WebForms, ASP.NET MVC, Java