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
636 stars 290 forks source link

When grouping, the values ​​in the cells disappear #1005

Closed FedorPRG closed 3 months ago

FedorPRG commented 5 months ago

Steps to reproduce the bug

  1. changed the date type column format to MM/dd/yyyy
  2. I click grouping in the menu and the values ​​in the cells disappear

Expected results

When grouping, the value must remain in the cell

Actual results

When grouping, the values ​​in the cells disappear

Code sample

  PlutoColumn(
    filterPadding: EdgeInsets.zero,
    titleSpan: TextSpan(
        text: 'Date',
        style: TextStyle(
          color: Colors.black,
          fontSize: 16,
          fontWeight: FontWeight.w400,
        )),
    width: 150,
    title: 'Date',
    field: 'data',
    type: PlutoColumnType.date(format: 'MM/dd/yyyy'),
  ),

Execution Environment

Flutter version Flutter version is 3.16.4

PlutoGrid version PlutoGrid version is 7.0.2

OS Ubuntu 22.04.3 LTS 2024-01-11_10-20 2024-01-11_10-21

FedorPRG commented 5 months ago

I took the example of the date type column and added grouping. When grouping columns with a non-standard date format, the values ​​in the cells disappear 2024-01-11_11-04 2024-01-11_11-05

dorklein commented 5 months ago

I also ran into the same issue.

FedorPRG commented 5 months ago

issue solved image

github-actions[bot] commented 4 months ago

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

github-actions[bot] commented 3 months ago

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