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

syncfusion gantt load on demmand

Is it possible to implement gantt parent nodes with load on demmand. i.e. the gantt only loads its children when we click on the prent node?
if not, any alternative to implement that behaviour ?
thanks.

1 Reply

MK Mahalakshmi Karthikeyan Syncfusion Team September 28, 2015 07:32 AM UTC

Hi,

Currently there is no support for load on demand as like your requirement, but it has built-in support to render the nodes multi-level hierarchies in virtualization approach by using “EnableVirtualization” property. In virtualization mode the Gantt control renders or we can able to visualize only few nodes of data at a time, depending upon the height of the Treegrid control (viewport/view height), thereby increasing the responsiveness in Gantt while scrolling, expanding, collapsing and other such actions. The child records won’t get render until we expand its parent as per your requirement. In virtualization concept, the scrollbar or scroller of Gantt is intended to render as if there are large data, but actually the rows which are viewable alone are rendered, even while scrolling the Gantt content. You can achieve the virtualization in Gantt with below code snippet,

<ej:Gantt ID="Gantt" runat="server"

//…

EnableVirtualization="true" >

</ej:Gantt>

We have also prepared a sample based on this and please find the sample under the following location.

Sample: http://www.syncfusion.com/downloads/support/forum/120563/ze/GanttVirtualization1434206785

We have also logged a feature request regarding “Support for load on Demand for Gantt” this. It will be implemented and available in any of our upcoming main release.

Regards,

Mahalakshmi K.


Loader.
Live Chat Icon For mobile
Up arrow icon