Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
style: TT-318 Improving the print option
  • Loading branch information
Edgar Guaman committed Aug 30, 2021
commit 824dc030a1bfacfcd8211b2d8d2bd453eab2a71f
Original file line number Diff line number Diff line change
Expand Up @@ -22,9 +22,14 @@ export class TimeEntriesTableComponent implements OnInit, OnDestroy, AfterViewIn
buttons: [
{
extend: 'colvis',
columns: ':not(.hidden-col)',
columns: ':not(.hidden-col),visible'
},
{
extend: 'print',
exportOptions: {
columns: ':visible'
}
},
'print',
{
extend: 'excel',
exportOptions: {
Expand Down Expand Up @@ -53,7 +58,7 @@ export class TimeEntriesTableComponent implements OnInit, OnDestroy, AfterViewIn
text: 'CSV',
filename: `time-entries-${formatDate(new Date(), 'MM_dd_yyyy-HH_mm', 'en')}`,
},
],
]
};
dtTrigger: Subject<any> = new Subject();
@ViewChild(DataTableDirective, { static: false })
Expand Down