i am trying to add two functions to my project. One is to export the grid data as its views to an excel (i am using kendo-grid and the grid data has been formatted from the UI side) and the second one is to print the grid data with the grid lines. i have added both, but i am having two problems. 1. Exporting to excel with the numbers formatted. i used this example http://jsfiddle.net/agershun/00nfeq12/
alasql('SELECT x [No.],Type,Amount INTO XLSX("Type.xlsx",{headers:true}) FROM ?',[ $scope.data.Data]);
};
$scope.data.Data is a result of the api. So it contains the actual data. But in my grid, i have added custom formatting.
- printing with the grid lines. I am using this example. Print a div using javascript in angularJS single page application
but the print just shows the data, no border lines and these are needed.
How do i solve this please? thanks