Reports
This commit is contained in:
parent
b26d50d5c9
commit
b1d1a75f08
|
|
@ -280,9 +280,10 @@ class _ReportDataTableState extends State<ReportDataTable> {
|
|||
),
|
||||
),
|
||||
FormCard(
|
||||
child: SingleChildScrollView(
|
||||
scrollDirection: Axis.horizontal,
|
||||
child: DataTable(
|
||||
child: Column(
|
||||
crossAxisAlignment: CrossAxisAlignment.stretch,
|
||||
children: <Widget>[
|
||||
DataTable(
|
||||
sortColumnIndex: reportSettings.sortIndex,
|
||||
sortAscending: reportSettings.sortAscending,
|
||||
columns: reportResult.tableColumns(
|
||||
|
|
@ -290,10 +291,9 @@ class _ReportDataTableState extends State<ReportDataTable> {
|
|||
(index, ascending) =>
|
||||
widget.viewModel.onReportSorted(index, ascending)),
|
||||
rows: [
|
||||
reportResult.tableFilters(
|
||||
context,
|
||||
_textEditingControllers[
|
||||
state.uiState.reportsUIState.report], (column, value) {
|
||||
reportResult.tableFilters(context,
|
||||
_textEditingControllers[state.uiState.reportsUIState.report],
|
||||
(column, value) {
|
||||
widget.viewModel.onReportFiltersChanged(
|
||||
context,
|
||||
state.uiState.reportsUIState.filters
|
||||
|
|
@ -302,6 +302,7 @@ class _ReportDataTableState extends State<ReportDataTable> {
|
|||
...reportResult.tableRows(context),
|
||||
],
|
||||
),
|
||||
],
|
||||
),
|
||||
),
|
||||
],
|
||||
|
|
|
|||
Loading…
Reference in New Issue