bosskmk / pluto_grid

PlutoGrid is a dataGrid for flutter that can be controlled by the keyboard on desktop and web. Of course, it works well on Android and IOS.
https://pluto.weblaze.dev
MIT License
635 stars 288 forks source link

PlutoColumnType.select don't update value in release mode #1029

Closed baryalenn closed 2 months ago

baryalenn commented 3 months ago

When I select an object (instance of PersonModel) in the list it does not update the value in the cell in release mode, however it works in debug mode.

Code sample

PlutoColumn(
  title: 'Person',
  field: personField,
  width: 120,
  type: PlutoColumnType.select(listPerson), // listPerson is List of PersonModel
  applyFormatterInEditing: true,
  formatter: (dynamic value) {
    // value is instance of PersonModel
    return value == null || value == "" ? "" : "${value?.lastName ?? "?"} ${value?.firstName ?? "?"}";
  }),

Execution Environment

Flutter version Flutter version is 3.16.5

PlutoGrid version PlutoGrid version is 7.0.2

OS Windows 11

github-actions[bot] commented 2 months ago

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

github-actions[bot] commented 2 months ago

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