Kendo Grid Excel Export com filtro

$scope.exportAllData = function () {
var grid = $("#grid").data("kendoGrid");
  grid.options.excel.allPages = true;
  grid.options.excel.filterable = true,
  grid.saveAsExcel();
  grid.options.excel.allPages = false;
};
Tiny Coders