PlexAdvanceDataTable constructor
const
PlexAdvanceDataTable(
{ - Key? key,
- required String title,
- required List<PlexDataTableHeaderCell> columns,
- required PlexWidgetController<List<List<PlexDataTableValueCell>>?> controller,
- WidthMode? widthMode,
- int? pageSize,
- dynamic onRefresh()?,
- List<Widget> customWidgets(
- BuildContext context
)?,
- int freezeColumns = 0,
- int freezeRows = 0,
- bool showCheckboxColumn = true,
- Color? alternateColor,
- bool enableCopy = false,
- bool enableColumnGrouping = true,
- List<String>? initialColumnGroup,
- bool enableExcelExport = true,
- bool enablePdfExport = true,
- bool enableCsvExport = false,
- bool autoExpandGroups = true,
- String groupSummary(
- String summary
)?,
- String? groupSummaryFormat,
- String customGroupingSummary(
- String columnName,
- List<PlexDataTableValueCell> row,
- List<List<PlexDataTableValueCell>> rows
)?,
- Widget? cellEditingWidget(
- int row,
- int column
)?,
- Future cellEditingSubmit(
- int row,
- int column
)?,
})
Implementation
@Deprecated('Use PlexDataGrid')
const PlexAdvanceDataTable({
super.key,
required this.title,
required this.columns,
required this.controller,
this.widthMode,
this.pageSize,
this.headerBackground,
this.headerTextStyle,
this.onRefresh,
this.customWidgets,
this.freezeColumns = 0,
this.freezeRows = 0,
this.showCheckboxColumn = true,
this.alternateColor,
this.enableCopy = false,
this.enableColumnGrouping = true,
this.initialColumnGroup,
this.enableExcelExport = true,
this.enablePdfExport = true,
this.enableCsvExport = false,
this.autoExpandGroups = true,
this.groupSummary,
this.groupSummaryFormat,
this.customGroupingSummary,
this.cellEditingWidget,
this.cellEditingSubmit,
});