Hello,
I have a dataSource for infinite scrolling, however I would like to programmatically add a new record to the grids data set without making a server call. The new record should appear along with the records returned from the infinite data source. I would also like to programmatically remove a record from the grids datasource without making a server call so that I might handle this operation outside of the grid control.
My dataSource with a custom ApiAdaptor extends WebApiAdaptor:
this.itemData = new DataManager({
url: serviceString,
adaptor: new WebApiAdaptor(),
headers
});
Please advise how I might accomplish this.