FdcGridControllerFeature class abstract

Extension contract for attaching optional command surfaces to a grid controller.

Add-on packages use this seam to receive grid-owned command delegates while keeping the Community controller independent from optional feature packages.

Implementers

Constructors

FdcGridControllerFeature()
Creates a FdcGridControllerFeature.
const

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

attach({required FdcGridLayoutSnapshot capture(), required void restore(FdcGridLayoutSnapshot snapshot), required void reset(), required bool focusColumn(String columnId), required bool setColumnVisible(String columnId, bool visible), required Future<bool> clearFilters(), required bool showFilters(), required Future<bool> hideFilters(), required Future<bool> clearSorting(), required bool expandDetailRow({int? rowIndex}), required bool collapseDetailRow({int? rowIndex}), required bool collapseAllDetailRows(), required bool clearRangeSelection(), required Future<void> saveLayout(), required Future<bool> loadLayout(), required Future<void> deleteLayout(), required void layoutChanged()}) → void
Connects the feature to one live grid and supplies its command delegates.
detach() → void
Disconnects the feature from its current grid attachment.
layoutChanged() → void
Notifies the feature that the current grid layout has changed.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

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