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.
Unfortunately, activation email could not send to your email. Please try again.

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

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.

http://jsplayground.syncfusion.com/Sync_sxlmmzew

 

Article ID: Published Date: Last Revised Date: Platform: Control:
7727 05/19/2017 05/19/2017 JavaScript ejGantt
Did you find this information helpful?
Add Comment
You must log in to leave a comment

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.