Model description of Gantt object

I haven't found the description of the Gantt model object.
I've found this sample and I would like to know which properties, methods... are available for ganttObj.model in order to only show for example the first three task childs, filter on specific criteria...

var ganttObj = $("#ganttSample3").data("ejGantt");
//To get the Updated Json Records
var data = ganttObj.model.dataSource;
//To alert the updated JSON value
alert(JSON.stringify(ganttObj.model.dataSource, replacer));
function replacer(key, value) {
    if (key == "startDate" || key == "endDate") {
        //To convert the date to required dateFormat
        return ej.format(new Date(value), ganttObj.model.dateFormat);
    } else {
        return value;
    }
}
thanks for advance

1 Reply

SR Suriyaprasanth Ravikumar Syncfusion Team October 30, 2017 10:26 AM UTC

Hi Vallet, 
 
We have analyzed your query, Please find the response below. 
 
Query1: I would like to know which properties, methods... are available for ganttObj.model ? 
Answer: In Gantt, the “ganttObj.model” contains all Gantt properties, methods and client side events, please refer the below links to know about the properties, methods and events available in Gantt. 
 
Query1: Need to only show for example the first three task childs, filter on specific criteria? 
Answer: In Gantt, currently we don’t have support to filter records, for this we have already logged a feature report on this as “Support to column filtering in Gantt”. This feature will be implemented and included in our upcoming Volume 4, 2017 main release which will be expected to out at November, 2017. 
 
Please let us know if you require any other assistance on this.   
 
Regards,   
Suriyaprasanth R.  


Loader.
Up arrow icon