How could I show the destroyed data in another Grid ?
I have met an error :
grid2.setDataSource(grid.dataSource._destroyed);
Uncaught TypeError: e.fetch is not a function at init.setDataSource (kendo.all.min.js:48)
Best regards
Chris
1 Answer, 1 is accepted
0
Tsvetina
Telerik team
answered on 13 Apr 2017, 08:44 AM
Hello Chris,
The setDataSource method of the Grid accepts a DataSource instance as an argument. The _destroyed collection is an array, so you should not pass it directly. If what you are trying to do is display deleted items while doing Batch editing in the Grid, my advice is to go with the following cleaner approach.