Skip to content

alvarofernandoms/angularjs-exportcsv

 
 

Repository files navigation

README - angularjs-exportcvs

Project requirement

  • npm > 3.x.x

Environment setup

  • git clone https://github.com/pratikq23/angularjs-exportcsv
  • cd angularjs-exportcsv
  • npm install
  • npm run

To use this directive in your code

    1. Copy app/directive/exportToCsv.js to your directives folder
    1. Add this to your module
angular.module('myApp', [
  'tableCSV',
]).
    1. Include this to your index.html or import the directive, whatever is your project architecture:
<script src='directive/exportToCsv.js'></script>
    1. Add this to a button tag:
<button export-to-csv>Generate Report</button>

Enjoy the export file functionality

About

Easy code to export csv file from table data.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 53.3%
  • HTML 43.2%
  • CSS 3.5%