Hello,
I'm trying to export some columns in a grid without hiding them. Now I'm using something like this:
var $grid = $('#grid').data('kendoGrid');
for(var i=0; i<columnsthatIdontneed.lenght;i++){
$grid.hideColumn(columnsthatIdontneed[i]);
}
$grid.saveAsExcel();//or $grid.saveAsPDF();
for(var i=0; i<columnsthatIdontneed.lenght;i++){
$grid.showColumn(columnsthatIdontneed[i]);
}
I need a solution for export without hiding those columns.
Thanks.