pluto_grid icon indicating copy to clipboard operation
pluto_grid copied to clipboard

[Help] The onChange function is not invoked.

Open hongmono opened this issue 3 years ago • 3 comments

The onChange function is not invoked.

This is my code

PlutoGrid(
  columns: reboundColums,
  rows: reboundRows,
  columnGroups: reboundColumnGroups,
  configuration: PlutoGridConfiguration(
    style: PlutoGridStyleConfig(
      gridBorderRadius: BorderRadius.circular(15),
    ),
  ),
  onChanged: (event) {
    reboundStateManager.changeCellValue(
      event.row!.cells['Diff']!,
      event.row!.cells['#1']!.value - event.row!.cells['#2']!.value,
    );
  },
  onLoaded: (PlutoGridOnLoadedEvent event) {
    reboundStateManager = event.stateManager;
  },
),

hongmono avatar Aug 11 '22 02:08 hongmono

The onChanged callback is called when the cell's value has changed.

bosskmk avatar Aug 11 '22 02:08 bosskmk

The onChanged callback is called when the cell's value has changed.

Should I press the confirmation button after changing the value in the cell?

hongmono avatar Aug 11 '22 02:08 hongmono

This issue is stale because it has been open for 30 days with no activity.

github-actions[bot] avatar Sep 10 '22 11:09 github-actions[bot]

This issue was closed because it has been inactive for 14 days since being marked as stale.

github-actions[bot] avatar Sep 24 '22 11:09 github-actions[bot]