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

Where is args.model.ganttRecords?

Thread ID:





119123 May 12,2015 07:52 PM UTC May 13,2015 05:30 AM UTC ASP.NET MVC 1
Tags: Gantt
Otto Moura Machado Filho
Asked On May 12, 2015 07:52 PM UTC

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.

Mahalakshmi Karthikeyan [Syncfusion]
Replied On 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.


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

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