Skip to content

Commit c66cae3

Browse files
committed
refactor: TT-382 configuration of the dom and lengthMenu of the datatable
1 parent 882776a commit c66cae3

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

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

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,9 @@ import { getReportDataSource } from '../../../time-clock/store/entry.selectors';
1717
export class TimeEntriesTableComponent implements OnInit, OnDestroy, AfterViewInit {
1818
dtOptions: any = {
1919
scrollY: '590px',
20-
dom: 'Bfrtip',
20+
dom: '<"d-flex justify-content-between"B<"d-flex"<"mr-5"l>f>>rtip',
2121
pageLength: 30,
22+
lengthMenu: [[15, 30, 50, 100, -1], [15, 30, 50, 100, 'All']],
2223
buttons: [
2324
{
2425
extend: 'colvis',

0 commit comments

Comments
 (0)