Is there a possibility to recognize when the user sorts a column in the GanttList?
Hi Renke,
Thank you for submitting the Gantt feature request.
While the sort event is implemented, you could handle the GanttList sorting as follows:
@(Html.Kendo().Gantt<TaskViewModel, DependencyViewModel>()
.Name("gantt")
...
.DataSource(ds => ds
...
.Events(ev => ev.Change("onDSChange"))
)
)
<script>
function onDSChange(e) {
var sortedFields = e.sender.sort();
if(sortedFields.length > 0) { //The GanttList is sorted
...
}
}
</script>
Regards, Mihaela Progress Telerik
Virtual Classroom, the free self-paced technical training that gets you up to speed with Telerik and Kendo UI products quickly just got a fresh new look + new and improved content including a brand new Blazor course! Check it out at https://learn.telerik.com/.