Get taskbar information on click action

22 Mar 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.

  • @(Html.EJ().Gantt("gantt")    
        .ClientSideEvents(eve =>
    <script type="text/javascript">  
    function taskbarClick(args) {
         var taskbarElement = args.taskbarElement,
                    taskData =,
                    target =;