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

Where is args.model.ganttRecords?

I had been using args.model.ganttRecords on the ActionComplete event.

But after the latest update there is no more ganttRecords in args.model.

How can I access gantt data from args in the ActionComplete event?

Otto Machado.

1 Reply

MK Mahalakshmi Karthikeyan Syncfusion Team May 13, 2015 05:30 AM UTC

Hi Otto,

Sorry for the inconvenience caused.

We would like to inform you that we have changed the records collection name “ganttRecords” to “flatRecords” in our volume 1 main release( We recommend you to follow the same in your code. Please refer the updated code snippet below for more details.








<script type="text/javascript">

function actioncomplete(args) {

var ganttObj = $("#Gantt").data("ejGantt");

data = args.model.flatRecords;




And also we would like to inform you that we have also changed the

ganttObj._updatedRecords to ganttObj.model.updatedRecords,

ganttObj._currentViewData to ganttObj.model.currentViewData and there is no more ganttObj._records collection is available in Gantt.

We have also prepared sample based on this and you can find the sample under the following location.

Sample: http://www.syncfusion.com/downloads/support/forum/119123/MVC09NewSample-579286022.zip

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


Mahalakshmi K.

Live Chat Icon For mobile
Up arrow icon