We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. Image for the cookie policy date

Toggling enableVirtualization

Hi,

I have gantt:
<ej-gantt
id="GanttControl"
[enableVirtualization]="enableVirtualization"
...
And then I have service call which load tasks. If there is more than 150 tasks, than I wantt to set variable enableVirtualization to true else false. But since gantt is already loaded it has no effect if I change value of variable. Gantt virtualization is based only of status at inicialization of it, so if I change array of tasks and also enableVirtualization, only the shown tasks change, and on virtualization is no effect.

So I wonder how to toggle (change) virtualization status.

Regards,
Marko



1 Reply

SR Suriyaprasanth Ravikumar Syncfusion Team September 21, 2017 11:45 AM UTC

Hi Marko, 
 
We regret for the inconvenience caused. 
Currently in Gantt we don’t have support to change the “enableVirtualization” property dynamically, for this we have logged a feature report as “Support for dynamically update the enableVirtualization property”. 
It will be implemented and included in our upcoming Volume 1, 2018 main release and it will be available at end of January, 2018. 
Please let us know, if you require any other assistance. 
 
Thanks, 
Suriyaprasanth R. 


Loader.
Up arrow icon