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

context menu not showing no matter what #907

Closed Ammarmahmoud1995 closed 1 year ago

Ammarmahmoud1995 commented 1 year ago

I have these 2 pluto Columns PlutoColumn( hide: true, width: 50.0, readOnly: true, title: 'idlab', field: 'idlab', type: PlutoColumnType.number(), ), PlutoColumn( readOnly: true, title: 'Test name', field: 'testname', type: PlutoColumnType.text(), ), I set enableContextMenu to false while developing then decided to leave it to true the problem here is that the menu not showing anymore
I tried 1- set enableContextMenu to true , leave it as null 2- close and re run the project , flutter clean , flutter pub get 3- no null data inside the grid this is the error in the debug console whenever clicking the menu
Error: Unexpected null value. dart-sdk/lib/_internal/js_dev_runtime/private/ddcruntime/errors.dart 288:49 throw dart-sdk/lib/_internal/js_dev_runtime/private/ddc_runtime/operations.dart 606:63 nullCheck packages/pluto_grid/src/helper/show_column_menu.dart 105:65 _getDefaultColumnMenuItems packages/pluto_grid/src/helper/show_column_menu.dart 28:12 buildMenuItems thanks for any help

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.