placeholder_task

adds an empty row into the end of the list of tasks to simplify tasks editing via keyboard

boolean placeholder_task;

Example

gantt.config.placeholder_task = true;


Default value:

false

Related samples

Details
  • A placeholder task will be automatically added to the end of the task list.
  • Once it's modified from the UI and received the gantt.updateTask() call, a new task will be added to the end of the list.
  • A placeholder can be detected by its type value:
if(task.type == gantt.config.types.placeholder){
   // do something
}
See also
Back to top