TableViewState class

Constructors

TableViewState()

Properties

busy ↔ Widget?
getter/setter pair
columns → List<PlutoColumn>
final
currentRowIndex → int?
no setter
grid ↔ PlutoGrid?
getter/setter pair
groups → List<PlutoColumnGroup>
final
hashCode → int
The hash code for this object.
no setterinherited
map → HashMap<PlutoColumn, TableHeaderCellModel>
final
mustBuildRowModel ↔ bool
getter/setter pair
paged ↔ bool
getter/setter pair
rows → List<PlutoRow>
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
stateManager ↔ PlutoGridStateManager?
PlutoGridStateManager has many methods and properties to dynamically manipulate the grid. You can manipulate the grid dynamically at runtime by passing this through the onLoadedHandler callback.
getter/setter pair
views → HashMap<TableRowCellModel, Widget>
final

Methods

applyFilters(List<PlutoRow> list) → List<PlutoRow>
applySort(List<PlutoRow> list) → List<PlutoRow>
autosize(String? mode) → void
build(BuildContext context) → Widget
buildAllRows() → void
buildOutRows(int length) → void
buildPlutoRow(int rowIdx) → PlutoRow?
buildRow(int rowIdx) → PlutoRow?
cellBuilder(PlutoColumnRendererContext context, bool hasEnterableFields) → Widget
closeKeyboard() → dynamic
deleteRow(int? row) → int?
exportToCSV() → Future<String?>
exportToPDF() → Future<Uint8List?>
getColumnTitles(PlutoGridStateManager state) → List<String>
getColumnType(TableHeaderCellModel model) → PlutoColumnType
getSerializedRow(PlutoGridStateManager state, PlutoRow plutoRow) → List<String?>
getVisibleColumns(PlutoGridStateManager state) → List<PlutoColumn>
insertRow(int rowIndex) → int?
isEditable(PlutoColumn col, PlutoRow row) → bool
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
onChangedHandler(PlutoGridOnChangedEvent event) → void
onDeselectHandler(PlutoGridOnRowDoubleTapEvent event) → void
onLazyLoad(PlutoInfinityScrollRowsRequest request) → Future<PlutoInfinityScrollRowsResponse>
onLoadedHandler(PlutoGridOnLoadedEvent event) → void
onModelChange(WidgetModel model, {String? property, dynamic value}) → dynamic
Callback function for when the model changes, used to force a rebuild with setState()
onPageLoad(PlutoLazyPaginationRequest request) → Future<PlutoLazyPaginationResponse>
onRowsMoved(PlutoGridOnRowsMovedEvent event) → void
onSelectedHandler({bool force = false}) → void
onSortedHandler(PlutoGridOnSortedEvent event) → void
onTap(PlutoCell cell, int rowIdx) → dynamic
rebuild() → void
refresh() → void
reload() → void
setFilterBar(bool? on) → void
setPageSize(int size) → void
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited