You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
public constructor(private ng2Csv: Ng2CsvService) {}
46
-
46
+
47
47
public download(): void {
48
48
this.ng2Csv.download([
49
49
{
@@ -69,14 +69,14 @@ Unless specified, an automatic mapping is used from the data to columns. It does
69
69
### Row headers and ordering
70
70
You can output a subset of the data's properties to CSV by defining your own custom mapping. This allows you to specify the order columns are written in and what value is written for each row in each column.
71
71
```
72
-
import { OrderedProjectionCsvRowMapper } from 'ng2csv/OrderedProjectionCsvRowMapper';
72
+
import { OrderedProjectionCsvRowMapper } from 'ng2csv';
73
73
// ...
74
74
const rowMapper = new OrderedProjectionCsvRowMapper<MyType>([
0 commit comments