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.
Syncfusion Feedback

Read actual data from ejGantt

Thread ID:

Created:

Updated:

Platform:

Replies:

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

Hello,

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

Thanks and BR
Oto


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 :

 

$("#gantt").ejGantt({

       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.

 

Thanks,

Bharath.


CONFIRMATION

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.

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

;