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. (Last updated on: November 16, 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

How to map the expand status of a record from datasource in Gantt

Platform: JavaScript |
Control: ejGantt |
Published Date: May 19, 2017 |
Last Revised Date: May 19, 2017

Gantt supports displaying records either is expanded or in collapsed state at initial load. By mapping the data source field to the expandStateMapping property, it is possible to render the Gantt with specific records in collapsed state.

It is also possible to display all the records in collapsed state at initial load in Gantt by enabling the property enableCollapseAll.

The below example explains mapping the expand status of each record from the data source.


Please find the sample demo from below link.



You must log in to leave a comment

Please sign in to access our KB

This page will automatically be redirected to the sign-in page in 10 seconds.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon