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

Read actual data from ejGantt


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

Thanks and BR

1 Reply

BM Bharath Marimuthu Syncfusion Team 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.




Live Chat Icon For mobile
Up arrow icon