PlutoGridPopup class
PlutoGridPopup calls PlutoGrid in the form of a popup.
Constructors
-
PlutoGridPopup({required BuildContext context, required List<
PlutoColumn> columns, required List<PlutoRow> rows, List<PlutoColumnGroup> ? columnGroups, PlutoOnLoadedEventCallback? onLoaded, PlutoOnChangedEventCallback? onChanged, PlutoOnSelectedEventCallback? onSelected, PlutoOnSortedEventCallback? onSorted, PlutoOnRowCheckedEventCallback? onRowChecked, PlutoOnRowDoubleTapEventCallback? onRowDoubleTap, PlutoOnRowSecondaryTapEventCallback? onRowSecondaryTap, PlutoOnRowsMovedEventCallback? onRowsMoved, PlutoOnColumnsMovedEventCallback? onColumnsMoved, CreateHeaderCallBack? createHeader, Widget? noRowsWidget, PlutoRowColorCallback? rowColorCallback, PlutoColumnMenuDelegate? columnMenuDelegate, PlutoGridConfiguration configuration = const PlutoGridConfiguration(), PlutoGridMode mode = PlutoGridMode.normal, double? width, double? height})
Properties
-
columnGroups
→ List<
PlutoColumnGroup> ? -
columnGroups can be expressed in UI by grouping columns.
final
- columnMenuDelegate → PlutoColumnMenuDelegate?
-
Column menu can be customized.
final
-
columns
→ List<
PlutoColumn> -
The
PlutoColumn
column is delivered as a list and can be added or deleted after grid creation.final - configuration → PlutoGridConfiguration
-
In configuration, you can change the style and settings or text used in PlutoGrid.
final
- context → BuildContext
-
final
-
createFooter is equivalent to createHeader.
However, it is located at the bottom of the grid.
final
- createHeader → CreateHeaderCallBack?
-
createHeader is a user-definable area located above the upper column area of PlutoGrid.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- height → double?
-
final
- mode → PlutoGridMode
-
Execution mode of PlutoGrid.
final
- noRowsWidget → Widget?
-
Widget to be shown if there are no rows.
final
- onChanged → PlutoOnChangedEventCallback?
-
onChanged is called when the cell value changes.
final
- onColumnsMoved → PlutoOnColumnsMovedEventCallback?
-
Callback for receiving events
when the column is moved by dragging the column
or frozen it to the left or right.
final
- onLoaded → PlutoOnLoadedEventCallback?
-
PlutoGrid completes setting and passes PlutoGridStateManager to
event
.final - onRowChecked → PlutoOnRowCheckedEventCallback?
-
onRowChecked can receive the check status change of the checkbox
when PlutoColumn.enableRowChecked is enabled.
final
- onRowDoubleTap → PlutoOnRowDoubleTapEventCallback?
-
onRowDoubleTap is called when a row is tapped twice in a row.
final
- onRowSecondaryTap → PlutoOnRowSecondaryTapEventCallback?
-
onRowSecondaryTap is called when a mouse right-click event occurs.
final
- onRowsMoved → PlutoOnRowsMovedEventCallback?
-
onRowsMoved is called after the row is dragged and moved
if PlutoColumn.enableRowDrag is enabled.
final
- onSelected → PlutoOnSelectedEventCallback?
-
onSelected can receive a response only if PlutoGrid.mode is set to PlutoGridMode.select .
final
- onSorted → PlutoOnSortedEventCallback?
-
onSorted is a callback that is called when column sorting is changed.
final
- rowColorCallback → PlutoRowColorCallback?
-
rowColorCallback can change the row background color dynamically according to the state.
final
-
rows
→ List<
PlutoRow> -
rows contains a call to the PlutoGridStateManager.initializeRows method
that handles necessary settings when creating a grid or when a new row is added.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- width → double?
-
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
open(
) → Future< void> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited