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

[Bug] #1031

Closed MMM12440 closed 2 months ago

MMM12440 commented 3 months ago

Steps to reproduce the bug

Expected results

Actual results

Code sample

PlutoGrid(
                      rowColorCallback: (rowColorContext) => Colors.transparent,
                      columns: columns,
                      rows: rows,
                      configuration: PlutoGridConfiguration(
                          columnSize: const PlutoGridColumnSizeConfig(
                            autoSizeMode: PlutoAutoSizeMode.scale,
                            resizeMode: PlutoResizeMode.normal,
                          ),
                          localeText: const PlutoGridLocaleText.arabic(
                              filterContains: "بحث"),
                          style: PlutoGridStyleConfig(
                            columnTextStyle: headline3,
                            // cellTextStyle: headline3,
                            activatedColor: Colors.greenAccent,
                            rowHeight: rowHeight ?? PlutoGridSettings.rowHeight,
                            gridBorderRadius: BorderRadius.all(
                                Radius.circular(SizeR.DefultPadding)),
                            gridBackgroundColor: Colors.transparent,
                            enableCellBorderVertical: false,
                          )),
                      createFooter: (stateManager) {
                        stateManager.setPageSize(10,
                            notify: false); // default 40
                        return PlutoPagination(stateManager);
                      },
                      onChanged: (PlutoGridOnChangedEvent event) {},
                      onLoaded: (PlutoGridOnLoadedEvent event) {
                        var stateManager = event.stateManager;

                        stateManager.setGridMode(PlutoGridMode.readOnly);
                        stateManager.setShowColumnFilter(true);
                      },
                    ),

Execution Environment

Flutter version

PlutoGrid 8.0.0.0

OS

MMM12440 commented 3 months ago

when using cellTextStyle and change the style it work but when clicked on three line on the colum header it show me Error: Unexpected null value. in depag and crash the apliccation iam useng web debag

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.