How to visually select a row given it's task id?
The code below shows how to select an activity who's task id is 5.
|
//To get hold of Ganttcontrol var ganttControl = $('#gantt_container').data("GanttControl"); //To get the ActivityView corresonding to task id 5 var activity = ganttControl.Model.GetActivityById(5); //To select the row. ganttControl.SelectedItem = ganttControl.ActivityViews.GetIActivityView(activity); |
� RadiantQ 2022. All Rights Reserved.