Skip to content

Commit 6192745

Browse files
author
Edgar Guaman
committed
fix: TT-333 Fix functionality of Excel and CSV buttons
1 parent 0675eef commit 6192745

File tree

1 file changed

+2
-11
lines changed

1 file changed

+2
-11
lines changed

src/app/modules/reports/components/time-entries-table/time-entries-table.component.ts

Lines changed: 2 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -21,27 +21,18 @@ export class TimeEntriesTableComponent implements OnInit, OnDestroy, AfterViewIn
2121
buttons: [
2222
{
2323
extend: 'colvis',
24-
columns: ':not(.hidden-col),visible'
24+
columns: ':not(.hidden-col)'
2525
},
2626
{
27-
extend: 'print',
28-
exportOptions: {
29-
columns: ':visible'
30-
}
27+
extend: 'print'
3128
},
3229
{
3330
extend: 'excel',
34-
exportOptions: {
35-
columns: ':visible'
36-
},
3731
text: 'Excel',
3832
filename: `time-entries-${formatDate(new Date(), 'MM_dd_yyyy-HH_mm', 'en')}`
3933
},
4034
{
4135
extend: 'csv',
42-
exportOptions: {
43-
columns: ':visible'
44-
},
4536
text: 'CSV',
4637
filename: `time-entries-${formatDate(new Date(), 'MM_dd_yyyy-HH_mm', 'en')}`
4738
},

0 commit comments

Comments
 (0)