Get taskbar information on click action

24 Jan 20181 minute to read

When we click on the taskbar, taskbarClick event will be triggered, using this event and it’s arguments, we can do any action related to taskbar. The following code example shows how to use this event.

  • $("#Gantt").ejGantt({
            taskbarClick: function(args) {
                var taskbarElement = args.taskbarElement,
                    taskData =,
                    target =;
                //your code goes here

    You can find the JS playground sample for this here.