Adding Tasks After Initialization

hi
Is it possible to add tasks to a gantt chart after initialization. The context menu sample has a entry to delete task but nothing to add new tasks.
If such a functionality exists, please guide me to enable it.

Nevermind. Found the issue.
needed the following

ganttChartControl.showContextMenu(true);
ganttChartControl.showNewProject(true);

Thanks anyways.