Get taskbar information on click action
22 Mar 2018 / 1 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 =>
{
eve.TaskbarClick("taskbarClick");
})
)
<script type="text/javascript">
function taskbarClick(args) {
var taskbarElement = args.taskbarElement,
taskData = args.data,
target = args.target;
//...
}
<script>
Was this page helpful?
Yes
No
Thank you for your feedback!
Thank you for your feedback and comments. We will rectify this as soon as possible!
An unknown error has occurred. Please try again.
Help us improve this page