mode property

PlutoGridMode? mode
final

Execution mode of PlutoGrid.

PlutoGridMode.normal Basic mode with most functions not limited, such as editing and selection.

PlutoGridMode.select, PlutoGridMode.selectWithOneTap Mode for selecting one list from a specific list. Tap a row or press Enter to select the current row.

select Call the PlutoGrid.onSelected callback when the selected row is tapped. To select an unselected row, select the row and then tap once more. selectWithOneTap Same as select, but calls PlutoGrid.onSelected with one tap.

This mode is non-editable, but programmatically possible.

stateManager.changeCellValue(
  stateManager.currentRow!.cells['column_1']!,
  value,
  force: true,
);

PlutoGridMode.popup This is a mode for popup type. It is used when calling a popup for filtering or column setting inside PlutoGrid, and it is not a mode for users.

If the user wants to run PlutoGrid as a popup, use PlutoGridPopup or PlutoGridDualGridPopup.

Implementation

final PlutoGridMode? mode;