PlexAdvanceDataTable constructor
const
PlexAdvanceDataTable({
- Key? key,
- required String title,
- required List<
PlexDataTableHeaderCell> columns, - required PlexWidgetController<
List< controller,List< ?>PlexDataTableValueCell> > - WidthMode? widthMode,
- int? pageSize,
- Color? headerBackground,
- TextStyle? headerTextStyle,
- dynamic onRefresh()?,
- List<
Widget> customWidgets(- BuildContext context
- int freezeColumns = 0,
- int freezeRows = 0,
- Color? alternateColor,
- bool enableCopy = false,
- bool enableColumnGrouping = true,
- List<
String> ? initialColumnGroup, - bool enableExcelExport = true,
- bool enablePdfExport = true,
- bool autoExpandGroups = true,
- String groupSummary(
- String summary
- String? groupSummaryFormat,
- Widget? cellEditingWidget()?,
- Future cellEditingSubmit()?,
Implementation
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.alternateColor,
this.enableCopy = false,
this.enableColumnGrouping = true,
this.initialColumnGroup,
this.enableExcelExport = true,
this.enablePdfExport = true,
this.autoExpandGroups = true,
this.groupSummary,
this.groupSummaryFormat,
this.cellEditingWidget,
this.cellEditingSubmit,
});