asafdav / ng-csv

Simple directive that turns arrays and objects into downloadable CSV files
MIT License
573 stars 215 forks source link

Multiple Header/Footer rows? #85

Open sinjaz opened 9 years ago

sinjaz commented 9 years ago

Is it possible to include multiple header rows or footer rows? I need this in order to be able to ignore these rows when sorting the column. So any suggestions?

asafdav commented 9 years ago

Currently only one header row is supported and footer is not supported. However, you can use a callback function as your ng-csv data and format your data as you wish, you can also use promises so in case you need to fetch some data from your server you can do that.