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

Read actual data from ejGantt

Thread ID:





116856 Jun 20,2014 08:03 AM UTC Jun 23,2014 05:27 PM UTC JavaScript 1
Tags: ejGantt
Otomar Naprstek
Asked On June 20, 2014 08:03 AM UTC


could You please provide me JavaScript statement I can use to read actual Gantt data (dataSource)?

Thanks and BR

Bharath Marimuthu [Syncfusion]
Replied On June 23, 2014 05:27 PM UTC

Hi Otomar ,


Thanks for your update.


You can achieve your requirement for retrieving datasource using the below code snippet ,


Code snippet :



       taskIdMapping: "taskID",






function getData() {

            var data = $("#gantt").ejGantt("option", "dataSource");

            alert("DataSource Collection : " + data);



We have prepared a sample based on this and you can find the sample under the following location:


Sample : http://www.syncfusion.com/downloads/support/directtrac/general/1168561413531681.zip


Please let us know if you need further information on this.





This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Please sign in to access our forum

or the page will be automatically redirected to 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