Skip to content

pluto state manager for english

kmk edited this page Dec 30, 2020 · 2 revisions

PlutoGridStateManager

PlutoGridStateManager is a class that manages the state and behavior of PlutoGrid.
When creating PlutoGrid, you can access the instance with the event parameter passed to the onLoaded callback function.

PlutoGridStateManager stateManager;

var grid = PlutoGrid(
  columns: columns,
  rows: rows,
  onLoaded: (PlutoGridOnLoadedEvent event) {
    stateManager = event.stateManager;
  },
);