PlexAdvanceDataTable constructor

const PlexAdvanceDataTable({
  1. Key? key,
  2. required String title,
  3. required List<PlexDataTableHeaderCell> columns,
  4. required PlexWidgetController<List<List<PlexDataTableValueCell>>?> controller,
  5. WidthMode? widthMode,
  6. int? pageSize,
  7. Color? headerBackground,
  8. TextStyle? headerTextStyle,
  9. dynamic onRefresh()?,
  10. List<Widget> customWidgets(
    1. BuildContext context
    )?,
  11. int freezeColumns = 0,
  12. int freezeRows = 0,
  13. Color? alternateColor,
  14. bool enableCopy = false,
  15. bool enableColumnGrouping = true,
  16. List<String>? initialColumnGroup,
  17. bool enableExcelExport = true,
  18. bool enablePdfExport = true,
  19. bool autoExpandGroups = true,
  20. String groupSummary(
    1. String summary
    )?,
  21. String? groupSummaryFormat,
  22. Widget? cellEditingWidget(
    1. int row,
    2. int column
    )?,
  23. Future cellEditingSubmit(
    1. int row,
    2. int column
    )?,
})

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,
});