/exporting-vue-data-grid-with-complete-customization

A quick-start project that helps you to enable PDF and Excel exporting in the DataGrid and export grid data to a PDF or Excel document. This project also contains a code snippet for the different customization options available for the PDF and Excel exportation.

Primary LanguageJavaScript

Exporting Vue Data Grid with Complete Customization

A quick-start project that helps you to enable PDF and Excel exporting in the DataGrid and export grid data to a PDF or Excel document. This project also contains a code snippet for the different customization options available for the PDF and Excel exportation.

Documentation:

PDF export: https://ej2.syncfusion.com/vue/documentation/grid/pdf-export/

Excel export: https://ej2.syncfusion.com/vue/documentation/grid/excel-exporting/

Online examples: https://ej2.syncfusion.com/vue/demos/#/material/grid/export.html

Project prerequisites

Make sure that you have the compatible versions of Node and Vue CLI in your machine before starting to work on this project.

How to run this application

To run this application, you need to first clone the exporting-vue-data-grid-with-complete-customization repository and then navigate to the path where it is located in your system.

To do so, open the command prompt and run the below commands one after the other.

git clone https://github.com/SyncfusionExamples/exporting-vue-data-grid-with-complete-customization grid-example
cd grid-example

Installation

Once done with downloading, you need to install the packages required to run this application locally. To do so, run the following command:

npm install

This will install all the needed Vue packages into your current project.

Running on development server

Run the npm run serve command for a dev server. Navigate to http://localhost:8080/. The app will automatically reload if you change any of the source files.

Further help

To get more help on Vue CLI use, check out the [Vue-Cli README] (https://github.com/vuejs/vue-cli/blob/master/README.md).