Virtual Scrolling

Is there a way to increase the number of rows rendered besides changing the height property? I'm still trying to find ways to improve the performance of the chart which seems to be very laggy even with the virtual scroll enabled.

3 Replies 1 reply marked as answer

MS Monisha Sivanthilingam Syncfusion Team May 7, 2021 11:52 AM UTC

Hi Christian, 
 
Greetings from Syncfusion support. 
 
You can increase the number of records displayed by decreasing the height of the rows using the rowHeight property. The following code snippets demonstrate the solution. 
 
App.vue 
 
<ejs-gantt 
      id="gantt" 
      ref="gantt" 
      :labelSettings="labelSettings" 
      :dataSource="data" 
      :columns="columns" 
      :taskFields="taskFields" 
      :enableVirtualization="true" 
      :height="height" 
      :rowHeight="rowHeight" 
    > 
    </ejs-gantt> 
 
 
 
rowHeight: 25 
 
 
We have also prepared a sample for your reference. 
 
You also mentioned that you are facing performance issues, we would like to know more about them. Are you using dependency connections in your data? As it may also cause a few performance issues in your application. We have logged a feature report to improve the performance of Virtual Scrolling when dependency connections are mapped. You can track its status from the below feedback link. 
 
 
We will implement and include this in the 2021 Volume 1 SP release scheduled for the mid of May, 2021. 
 
We appreciate your patience until then, 
 
Regards, 
Monisha. 


Marked as answer

CD Christian DAquino May 7, 2021 12:39 PM UTC

Hi Monisha,

Yes, I am using dependency connections on my schedules.




MS Monisha Sivanthilingam Syncfusion Team May 10, 2021 06:20 AM UTC

Hi Christian, 
 
As mentioned in the previous update, we have logged a feature report to improve the performance of Virtual Scrolling when dependency connections are enabled. You can track its status from the below feedback link. 
 
 
We will implement and include this in the 2021 Volume 1 SP release scheduled for the mid of May 2021. 
 
We appreciate your patience until then. 
 
Regards, 
Monisha. 


Loader.
Up arrow icon