This is a migrated thread and some comments may be shown as answers.

Kendo Gantt dynamic data insertion without reload

0 Answers 32 Views
Gantt
This is a migrated thread and some comments may be shown as answers.
Azeem
Top achievements
Rank 1
Azeem asked on 01 Sep 2015, 06:58 AM
i need to insert new dataitem to the existing kendo gantt data source. but i cant able to do. i have used javascript splice method also, but not working

$("#gantt").data("kendoGantt").dataSource.fetch(function () {
    //newJsonData contains the objects for insertion
    $.each(newJsonData, function (i, row) {
       //insert data to gantt data source
       this._data.pop(newJsonData[i]);
   });
});

No answers yet. Maybe you can help?

Tags
Gantt
Asked by
Azeem
Top achievements
Rank 1
Share this question
or