Gantt resource view error when virtual scrolling is enabled

Hello,

I'm having an error when combining resource view with virtual scrolling.

The trace:

Uncaught TypeError: Cannot read property 'querySelector' of null
    at ChartRows.triggerQueryTaskbarInfoByIndex (chart-rows.js?db6d:1487)
    at ChartRows.refreshRow (chart-rows.js?db6d:1662)
    at ChartRows.refreshRecords (chart-rows.js?db6d:1717)
    at ChartRows.createTaskbarTemplate (chart-rows.js?db6d:1281)
    at ChartRows.renderChartRows (chart-rows.js?db6d:110)
    at GanttChart.renderChartElements (gantt-chart.js?ed16:88)
    at Observer.notify (observer.js?e8e3:99)
    at Gantt.Component.notify (component.js?4e82:249)
    at Gantt.treeDataBound (gantt.js?01a2:794)
    at GanttTreeGrid.dataBound (tree-grid.js?5e26:193)

3 Replies

MS Monisha Sivanthilingam Syncfusion Team June 16, 2021 10:32 AM UTC

Hi Vitor, 
 
Greetings from Syncfusion support. 
 
We were able to replicate the issue you reported. We would like to confirm whether you have set the value of the enableMultiTaskbar property to true, because, Virtual Scroll does not support multi taskbar feature in Gantt Chart. If yes, please remove the property form your application to avoid this issue. 
 
For more information on the limitations of Virtual Scroll, please refer our Online Documentation. 
 
Please contact us if the issue persists. 
 
Regards, 
Monisha. 



VB Vitor Barroso June 16, 2021 10:55 AM UTC

Thanks Monisha!

I see this link about virtual scroll limitations but doesn't mention about multi taskbar feature limitation.

Anyway, thank you very much for the quick reply.

For the moment, I will disable the multi task feature.


MS Monisha Sivanthilingam Syncfusion Team June 17, 2021 12:56 PM UTC

Hi Vitor, 
 
You are welcome. 
 
We will update our Online Documentation with the limitations of Virtual Scroll as soon as possible. 
 
Please contact us if you require any further assistance. 
 
Regards, 
Monisha. 


Loader.
Up arrow icon