@@ -415,7 +415,7 @@ angular.module('angular.generic.table').directive('genericTable', function() {
415415
416416 // if exportColumns are passed with options...
417417 if ( typeof options . exportColumns !== 'undefined' ) {
418-
418+
419419 // ...get field settings for all objectKeys in exportColumns array
420420 var exportFields = $filter ( 'map' ) ( options . exportColumns , function ( objectKey ) {
421421 return $filter ( 'filter' ) ( $scope . gtFields . slice ( 0 ) , { objectKey :objectKey } , true ) [ 0 ] ;
@@ -433,7 +433,8 @@ angular.module('angular.generic.table').directive('genericTable', function() {
433433 columnOrder :$filter ( 'map' ) ( exportFields , "objectKey" ) , // get column order
434434 decimalSep :typeof options . decimalSep === 'undefined' ? ',' :options . decimalSep ,
435435 addByteOrderMarker :typeof options . addBom === 'undefined' ,
436- charset :typeof options . charset === 'undefined' ? 'utf-8' :options . charset
436+ charset :typeof options . charset === 'undefined' ? 'utf-8' :options . charset ,
437+ quoteStrings : typeof options . quoteStrings === 'undefined' ? false : options . quoteStrings
437438 } ;
438439
439440 CSV . stringify ( data , headers ) . then ( function ( result ) {
@@ -623,4 +624,4 @@ angular.module('angular.generic.table').directive('genericTable', function() {
623624 }
624625 return array . sort ( dynamicSortMultiple ( propertyArray ) ) ;
625626 }
626- } ) ;
627+ } ) ;
0 commit comments