Hi,
The below code works to copy data from one grid to another.
However, it looks like only copies the selected page when virtual scroll is on.
Is there a way to copy the entire datasource from one grid to another when virtual scroll is on?
var sourcegrid = $('#grid').data('kendoGrid'); //SOURCE GRID
var destinationgrid = $('#printableGrid').data('kendoGrid'); // DESTINATION GRID
destinationgrid.setDataSource(sourcegrid.dataSource);
destinationgrid.refresh();
$("#printableGrid").show();
Thanks,