You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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 datatable2?
The text was updated successfully, but these errors were encountered:
You can do empty rows right now, just return an empty row from the data source. For the others, it looks like best would be to internally use datatable2. That might be a major change, I hope to get some more time in the upcoming holiday season to focus on this package.
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 datatable2?
The text was updated successfully, but these errors were encountered: