TDataTable constructor
const
TDataTable({
- Key? key,
- required List<
DataColumn> columns, - required List<
DataRow> rows, - double? tableHeight,
- int? sortColumnIndex,
- double dataRowHeight = 64,
- bool sortAscending = true,
- bool isLoading = false,
- double? minWidth = 1000,
- Widget? header,
- VoidCallback? loadMoreButtonOnPressed,
- bool allItemsFetched = false,
- bool hideLoadMore = false,
- List<
Widget> actions = const [], - Widget? emptyWidget,
Implementation
const TDataTable({
super.key,
required this.columns,
required this.rows,
this.tableHeight,
this.sortColumnIndex,
this.dataRowHeight = 64,
this.sortAscending = true,
this.isLoading = false,
this.minWidth = 1000,
this.header,
this.loadMoreButtonOnPressed,
this.allItemsFetched = false,
this.hideFooter = false,
this.hideLoadMore = false,
this.actions = const [],
this.emptyWidget,
});