Hi,
I'm not able to get the drag handler in the task progress bar.I want implement drag handler to change the percent complete. This is my code
@(Html.Kendo().Gantt<TaskGanttFacade, TaskGanttDependencyFacade>((IEnumerable<TaskGanttFacade>)ViewBag.Tasks, (IEnumerable<TaskGanttDependencyFacade>)ViewBag.Dependencies)
.Name("gantt")
.DataSource(ds => ds.Read(read => read
.Action("Tasks", "Home")
)
.Model(m =>
{
m.Id(f => f.Id);
m.ParentId(f => f.ParentId);
m.OrderId(f => f.OrderId);
m.Field(f => f.Expanded).DefaultValue(true);
})
)
.DependenciesDataSource(ds => ds.Read(read => read
.Action("Dependencies", "Home")
)
.Model(m =>
{
m.Id(f => f.DependencyId);
m.PredecessorId(f => f.PredecessorId);
m.SuccessorId(f => f.SuccessorId);
m.Type(f => f.Type);
})
)
.Columns(columns =>
{
columns.Bound("title").Editable(true).Sortable(true).Width(200);
columns.Bound("Owner").Editable(true).Sortable(true).Width(75);
columns.Bound("Property").Editable(true).Sortable(true).Width(50);
columns.Bound("end").Title("End Time").Format("{0:MM/dd/yyyy}").Width(75).Editable(true).Sortable(true);
})
.Views(views =>
{
views.WeekView(weekView => weekView.Selected(true));
views.MonthView();
})
.Events(events => events
.DataBound("onDataBound")
)
.Height(500)
.ListWidth("450")
.ShowWorkHours(false)
.ShowWorkDays(false)
.Snap(false)
.Resizable(true)
.Editable(false)
)
Can use please let me know if I have missed something or how can I implement it?
I tried using task template and added a div with class="k-task-draghandle" but I was not able to drag that.
I have also attached the image of my gantt chart for reference.
Thanks,
Keerthana