ReportTableElement class
Repeating grid bound to the detail data set.
- Inheritance
-
- Object
- ReportElement
- ReportTableElement
Constructors
-
ReportTableElement({String? id, String? name, double x = 0, double y = 0, double width = 0, double height = 0, String? visibleWhen, Map<
String, String> ? extraAttributes, List<ReportTableColumn> ? columns, List<ReportTableCell> ? cells, bool showGrid = true, String? borderColor, double borderWidth = 0.5, String? headerBackground, String? headerColor, bool headerBold = true, double? fontSize, double? headerFontSize, String? fontFamily, String? color, double? rowHeight, double? headerHeight, String? stripeColor, bool repeatHeader = true, bool showHeader = true, double padding = 3, String? dataSet}) - ReportTableElement API.
Properties
- borderColor ↔ String?
-
borderColor API.
getter/setter pair
- borderWidth ↔ double
-
borderWidth API.
getter/setter pair
- bounds → ReportRect
-
Box in band coordinates.
no setterinherited
-
cells
→ List<
ReportTableCell> -
Row template, one cell per column.
final
- color ↔ String?
-
Body text color.
getter/setter pair
-
columns
→ List<
ReportTableColumn> -
columns API.
final
- dataSet ↔ String?
-
Overrides the band data set.
getter/setter pair
- displayName → String
-
Short label for designers (
Text,Table, …) plus name.no setterinherited -
extraAttributes
→ Map<
String, String> -
Unrecognized attributes kept for round-trip.
finalinherited
- fontFamily ↔ String?
-
fontFamily API.
getter/setter pair
- fontSize ↔ double?
-
Body font size.
getter/setter pair
-
Optional totals row printed after the last row.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- headerBackground ↔ String?
-
Header fill (defaults to the
primarypalette color).getter/setter pair - headerBold ↔ bool
-
headerBold API.
getter/setter pair
- headerColor ↔ String?
-
Header text color (defaults to white).
getter/setter pair
- headerFontSize ↔ double?
-
headerFontSize API.
getter/setter pair
- headerHeight ↔ double?
-
Header row height; falls back to rowHeight.
getter/setter pair
- height ↔ double
-
height API.
getter/setter pairinherited
- id → String
-
Stable runtime identity (selection, layout back-references).
finalinherited
- name ↔ String?
-
Optional author-facing name (
name="…").getter/setter pairinherited - namePrefix → String
-
Base for generated names (
text1,table2, …).no setterinherited - padding ↔ double
-
Cell padding, points.
getter/setter pair
- repeatHeader ↔ bool
-
Repeat the header at the top of continuation pages.
getter/setter pair
- rowHeight ↔ double?
-
Minimum body row height; falls back to the band
rowHeight.getter/setter pair - runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- showGrid ↔ bool
-
showGrid API.
getter/setter pair
- showHeader ↔ bool
-
showHeader API.
getter/setter pair
- stripeColor ↔ String?
-
Fill for every second body row.
getter/setter pair
- type → ReportElementType
-
type API.
no setteroverride
- visibleWhen ↔ String?
-
Expression; the element is skipped when it evaluates falsy.
getter/setter pairinherited
- width ↔ double
-
width API.
getter/setter pairinherited
- x ↔ double
-
Left, relative to the page (or margin) — see ReportCoordinateOrigin.
getter/setter pairinherited
- y ↔ double
-
Top, relative to the band.
getter/setter pairinherited
Methods
-
clone(
{bool keepId = false}) → ReportTableElement -
Deep copy. A fresh id unless
keepId.override -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
resolvedColumnWidths(
) → List< double> - Column widths fitted to width (explicit widths scaled when they do not add up; auto columns share what is left).
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited