Comments (2)
In both of your scenarios you can use an expression and it should solve it for you,
- You can use CSV.stringify and send any header you'd like
- just do csv-header="getHeader()"
from ng-csv.
@RobinGulbrandsen it could automatically use the key of json values to be the header name with passing csv-label="true"
on the element
from ng-csv.
Related Issues (20)
- JSON/JS array format HOT 3
- cannot use Promise to retrieve header HOT 1
- ng-csv perforamance with large number of dataset
- do you know the MIME type of the download
- Ignore columns of type object HOT 1
- .bind instead of .on
- Problem with BOM and Saving files in Excel HOT 1
- Create default options object when none is provided
- leading zeros for string field
- safari can't download csv file HOT 2
- generate object HOT 2
- How to use "text delimiter" attribute?
- Save As? HOT 1
- Field with leading zeros being treated as a number rather than a string HOT 1
- Labels options requires all objects to have all keys present
- ng-csv not supported in Edge
- Issues in Chrome 65 HOT 14
- Not downloading on current window
- How to add more than one header? HOT 2
- Cant add txtDelim when the seprator is not equals to (,) without setting quoteStrings to true
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ng-csv.