Datatables

This commit is contained in:
Hillel Coren 2023-10-13 14:19:32 +03:00
parent 4780189953
commit 1d1254a238
2 changed files with 2 additions and 0 deletions

View File

@ -292,6 +292,7 @@ class _EntityListState extends State<EntityList> {
: 0,
sortAscending: listUIState.sortAscending,
rowsPerPage: state.prefState.rowsPerPage,
showFirstLastButtons: true,
onPageChanged: (row) {
_firstRowIndex = row;
store.dispatch(UpdateLastHistory(

View File

@ -689,6 +689,7 @@ class _ReportDataTableState extends State<ReportDataTable> {
(index, ascending) => widget.viewModel
.onReportSorted(sortedColumns[index], ascending)),
source: dataTableSource,
showFirstLastButtons: true,
),
)
],