View Full Version : Function getNewRecords() ,getModifiedRecords() all returning an empty array

5 Sep 2016, 11:04 PM
I am using Bryntum's Gantt but facing a weird issue.
When I call the save button after adding records getNewRecords() function just returns me and empty array.

Dont know why is this happening.Any help is really appreciated.

Am attaching the file here,you may run index.html then add records with by right clixk on any task displayed on left panel,then click the save button on top.

On click of save am calling the SaveProjectProcess() function defined on ControlHeader.js.In the function am using the getNewRecords function that is just returning me empty.

Gary Schlosberg
6 Sep 2016, 2:33 PM
Are you able to check if the store has records (even if it seems there are no new or modified records)? What version of Ext JS is this? Have you had a look on the Bryntum forums?