'm using ng-csv to export xls files.

i have to following object to be exported into xls file.

myObj = {position:"2", status:"X"};

the status fild can have a different values: "X" or "Y" ....

So if the status field is equal to "X", the xls column containing the X 
value has a red background color, and if the status field is equal to "Y", 
the xls column containing the Y value has a green background color.

How can i do this using the angulars ng-csv ?

my ns-csv is declared us following:

<button ng-csv="getCSVExport(currentgrid)" csv-header="headersCsv" 
filename="matrice_chantier.csv" field-separator=";" decimal-separator="." 
class="btn btn-default exportCSV" style="margin:0; display:inline-block;" 
add-bom="true"><img class="imgCSV" style="margin:0; max-width:15px;" 
src="/img/csv.jpg" alt="Export to CSV"></button>

-- 
You received this message because you are subscribed to the Google Groups 
"AngularJS" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/angular.
For more options, visit https://groups.google.com/d/optout.

Reply via email to