In my application the Gantt will show only the resources selected by the user. And the user can change what resource will be show at will. I'm getting the error "Cannot read properties of undefined (reading 'ganttProperties')at ChartRows.getResourceParent (ej2-gantt.es2015.js:9484:1)" when calling the method "refresh" of gantt after choosing which resources to show.
The method that chooses which resources to show ("taskData" is the dataSource variable):
The error occur after calling refresh:
I attached snippets of code and a small demonstration video to better understanding of my scenario. Any help is appreciated
Attachment: files_5d53d5d2.zip