Skip to content

leelakrish/json-export-excel

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ngJsonExportExcel - export excel from json using AngularJS

How to get it ?

Bower

bower install ng-json-export-excel --save

Usage

  1. Add json-export-excel.js and FileSaver.js to your main file (index.html)

  2. Set ngJsonExportExcel as a dependency in your module

var myapp = angular.module('myapp', ['ngJsonExportExcel'])
  1. Example simple:
<button ng-json-export-excel data="dataList" report-fields="{'uesr.username': 'Heder 1', keyjson2: 'Header 2', keyjson3: 'Head 3'}" filename =" 'export-excel' " separator="," class="css-class"></button>

Default filename = 'export-excel'

Default separator = ';'

  1. Please find examples in the directory example or You can check out this live example here: http://plnkr.co/6ieuJ1khmKFds9VYHoDv

About

export excel from json using AngularJS

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • JavaScript 83.3%
  • HTML 16.7%