Is there any live working example?
mohamedridzwan786 opened this issue · comments
With page and limit options
The example project uses server side filters, multiple pages with custom page size and more. What are you missing or looking for exactly?
PaginatedDataTable2(
smRatio: smRatio,
lmRatio: lmRatio,
actions: actions,
rowsPerPage: this.rowsPerPage,
columns: columns,
source: source,
dataRowHeight: 32,
headingRowHeight: 36.0,
// onRowsPerPageChanged: (value) => onRowsPerPageChanged,
initialFirstRowIndex: initialFirstRowIndex,
onPageChanged: (rowIndex) => onPageChanged,
header: Text(headerText, style: TextStyle(fontWeight: FontWeight.bold)),
showCheckboxColumn: false,
horizontalMargin: 20,
checkboxHorizontalMargin: 12,
columnSpacing: 0,
wrapInCard: false,
minWidth: 800,
fit: FlexFit.tight,
border: TableBorder(
top: BorderSide(color: Colors.grey[300]!),
bottom: BorderSide(color: Colors.grey[300]!),
left: BorderSide(color: Colors.grey[100]!),
right: BorderSide(color: Colors.grey[100]!),
verticalInside: BorderSide(color: Colors.grey[100]!),
horizontalInside: BorderSide(color: Colors.grey[100]!, width: 1),
),
// TODO: set this up
// sortColumnIndex: _sortColumnIndex,
// sortAscending: _sortAscending,
empty: DatatableNoData(title: 'No data'),
Advanced datatable is best for server side pagination, however is it possible to include these features?
empty rows,border,fit,smratio,lmratio,column width, row, width and some of the features from paginated datatable two(datatable 2)?