I've searched around but I can't find a supported method of adding an array to the end of a DataSource that already contains data.
I have found that this works nicely: dataSource.data().push.apply(dataSource.data(), data);
The problem is that it starts to get really slow (in some cases I can have up to about 150,000 records.
I've seen this: $.merge(dataSource._pristineData, data);
But this method doesn't seem to let the DataSource know that new items have been added to the array. It's my understanding that jQuery fiddles around with some internal data of the appended to array. Is there a way to let the DataSource object know that it's array has been changed?
I'm only looking for the most performant way to add data to a Grid.