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(13.0.1.21). We recommend you to follow the same in your code. Please refer the updated code snippet below for more details.
@(Html.EJ().Gantt("Gantt").
//…
ClientSideEvents(eve=>
{
eve.ActionComplete("actioncomplete");
}).
)
<script type="text/javascript">
function actioncomplete(args) {
var ganttObj = $("#Gantt").data("ejGantt");
data = args.model.flatRecords;
//…
}
</script>
|
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.
Regards,
Mahalakshmi K.