Hi,
I implemented datasource filtering on my gantt (for jquery) widget which includes filtering of elements by start and end date. In terms of filtering logic, everything works fine, but this introduced interesting behaviour with my gantt. After any action (update of tasks via drag-n-drop for example), gantt is focused to the beginning of filter interval.
I did some debugging and I came to piece of code in kendo library (displayed below) which seems to be cause of the problem.
Is there any way to prevent this focusing, because it doesn't make much sense to scroll there if i change task somewhere in the middle of range.
Thank you
_render: function (tasks) {
var view = this.view();
var range = this._range(tasks);
var date = view.options.date;
this._tasks = tasks;
view.range(range);
view.renderLayout();
view.render(tasks);
if (date) {
view._scrollToDate(date);
}