forked from javiertelioz/angular2-csv
-
Notifications
You must be signed in to change notification settings - Fork 23
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Feature added to pass header object with key and value of header
Often times the data object keys and the header names are not same. So I've added option to pass header in the form of object. The keys would be same as that of the keys of the data to be shown and the value would be used as the header of the column for that key. Also the sequence of keys don't matter. They will be ordered according the the header object passed.
- Loading branch information
Showing
2 changed files
with
73 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters