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
664 stars 305 forks source link

[Help] How can I get data after updated to submit to db #865

Closed alshueiliproject closed 1 year ago

alshueiliproject commented 1 year ago

How can I get data after updated to submit to db


 List<PlutoRow> plutoRowList = [];
    for (var element in personList) {
      plutoRowList .add(PlutoRow(
        cells: {
          'civiId': PlutoCell(value: element.civiId),
          'personId': PlutoCell(value: element.personId),
          'name': PlutoCell(value: element.fullName),
          'amount': PlutoCell(value: element.amount)
        },
      ));
    }

PlutoGrid(
                          columns: columns,
                          rows: plutoRowList ,
                          // columnGroups: columnGroups,
                          onLoaded: (PlutoGridOnLoadedEvent event) {
                            stateManager = event.stateManager;
                            stateManager.setShowColumnFilter(true);
                          },
                          onChanged: (PlutoGridOnChangedEvent event) {
                            print(event);
                          },
                          configuration: const PlutoGridConfiguration(),
                        ),

I want to get data after complete my work to save to db

submit (){

 var x = plutoRow  ????????

}
github-actions[bot] commented 1 year ago

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

github-actions[bot] commented 1 year ago

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