Vertical scroller breaks in GanttViewType.ResourceView when using setModel

Issue 1: 

When we have tasks listed in the ResourceView with start date outside of the provided scheduleStartDate and scheduleEndDate range, if we update a row item by dragging it the grid will update the scheduleStartDate and scheduleEndDate based on the dataSource instead of retaining the provided dates.

Issue 2: 

In a ResourceView with 400 rows when scrolled down to the bottom, if the chart is updated by calling setModel the vertical scroller will treat the middle of the scroller as the bottom of the chart, it will be possible to scroll down by dragging the scroller (mousewheel down doesn't work), but it won't scroll any content as the chart will already be scrolled all the way down.

$(`#ResourceChart`).ejGantt("instance").setModel({
     dataSource: model.dataSource,
     resources: model.resources,
     scheduleStartDate: model.scheduleStartDate,
     scheduleEndDate: model.scheduleEndDate
 })

1 Reply

KR Karthikeyan Raja Syncfusion Team February 28, 2020 11:40 AM UTC

Hi Martin,  
  
Query 1 – Regarding schedule header changes  
Solution: We have analyzed the query, on initial rendering, schedule header will be rendered based on schedule start and end date but when doing interaction on task bar and update the dates, then schedule dates will be affected. We are maintaining this as behavior of our Gantt component. 
  
Query 2 – Issue on scroller  
Solution:  We have prepared sample with your reported query but we are unable to reproduce the reported issue. Please find our sample from below link,  
  
If you are still facing issue, Please revert us below details  
1.      Issue replication procedure in detail 
2.      Did you have doing any action on scroller object dynamically 
3.      Video reference for issue replication 
Otherwise change our sample to issue reproduceable state, it will be very helpful for serve you better.  

Regards, 
Karthikeyan Raja 


Loader.
Up arrow icon