TPaginatedDataTable constructor
const
TPaginatedDataTable({
- Key? key,
- required List<
DataColumn> columns, - required DataTableSource source,
- int rowsPerPage = 10,
- double tableHeight = 760,
- dynamic onPageChanged()?,
- int? sortColumnIndex,
- double? dataRowHeight,
- bool sortAscending = true,
- double? minWidth = 1000,
- Widget? header,
- List<
Widget> actions = const [], - Widget? emptyWidget,
Implementation
const TPaginatedDataTable({
super.key,
required this.columns,
required this.source,
this.rowsPerPage = 10,
this.tableHeight = 760,
this.onPageChanged,
this.sortColumnIndex,
this.dataRowHeight,
this.sortAscending = true,
this.minWidth = 1000,
this.header,
this.actions = const [],
this.emptyWidget,
});