Skip to content

[SfDataGrid] Long press on any cell in summary row throws error #514

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
davulkan opened this issue Dec 27, 2021 · 5 comments
Closed

[SfDataGrid] Long press on any cell in summary row throws error #514

davulkan opened this issue Dec 27, 2021 · 5 comments

Comments

@davulkan
Copy link

It seems that _getDataCellBase function does not properly handle the case, when dataRow.rowType == RowType.tableSummaryRow

I/flutter (22256): ---------- ERROR ----------
I/flutter (22256): Null check operator used on a null value
I/flutter (22256): [2021-12-27 12:34:08.553576 | Catcher | INFO] #0 RenderVirtualizingCellsWidget._getDataCellBase (package:syncfusion_flutter_datagrid/src/datagrid_widget/widgets/rendering_widget.dart:1275:20)
I/flutter (22256): [2021-12-27 12:34:08.553836 | Catcher | INFO] #1 RenderVirtualizingCellsWidget._onLongPressStart (package:syncfusion_flutter_datagrid/src/datagrid_widget/widgets/rendering_widget.dart:1298:16)
I/flutter (22256): [2021-12-27 12:34:08.553918 | Catcher | INFO] #2 LongPressGestureRecognizer._checkLongPressStart. (package:flutter/src/gestures/long_press.dart:711:75)
I/flutter (22256): [2021-12-27 12:34:08.554265 | Catcher | INFO] #3 GestureRecognizer.invokeCallback (package:flutter/src/gestures/recognizer.dart:198:24)
I/flutter (22256): [2021-12-27 12:34:08.554426 | Catcher | INFO] #4 LongPressGestureRecognizer._checkLongPressStart (package:flutter/src/gestures/long_press.dart:711:11)
I/flutter (22256): [2021-12-27 12:34:08.554803 | Catcher | INFO] #5 LongPressGestureRecognizer.didExceedDeadline (package:flutter/src/gestures/long_press.dart:615:5)
I/flutter (22256): [2021-12-27 12:34:08.555162 | Catcher | INFO] #6 PrimaryPointerGestureRecognizer.didExceedDeadlineWithEvent (package:flutter/src/gestures/recognizer.dart:591:5)
I/flutter (22256): [2021-12-27 12:34:08.555272 | Catcher | INFO] #7 PrimaryPointerGestureRecognizer.addAllowedPointer. (package:flutter/src/gestures/recognizer.dart:535:41)

@Sangeetha-Raju
Copy link

Hi @dantsushko,

We have logged a bug report for reported issue. And we will include the changes in our upcoming weekly pub release which is scheduled to be rolled out on 4th January 2022.

Please refer to the feedback link below for further follow up,

Feedback link: https://www.syncfusion.com/feedback/31500/null-check-operator-exception-is-thrown-when-long-press-the-table-summary-rows

We will let you know once it gets rolled out. We appreciate your patience until then. Please let us know if you require any further assistance.

Regards,
Sangeetha Raju.

@ashok-kuvaraja
Copy link
Collaborator

Hi @dantsushko,

Sorry for the inconvenience.

Unfortunately, we couldn't include the fix for the reported issue on January 4th weekly pub release. We will include the changes in our next weekly pub release which is scheduled to be rolled out on 11th January 2021.

We appreciate your patience until then.

Regards,
Ashok K

@RenugaSadagoban98
Copy link

Hi @dantsushko ,

The reported issue “The null check operator exception will no longer be thrown when long press the table summary rows” has been resolved and we have included the changes in our weekly pub release. Please update your datagrid package to the 19.4.42 version. You can also refer to the following pub link.

link: https://pub.dev/packages/syncfusion_flutter_datagrid/versions/19.4.42

Regards,
Renugadevi

@davulkan
Copy link
Author

Thank you

@RenugaSadagoban98
Copy link

Hi @dantsushko ,

Please let us know if you need any other assistance. We will be happy to assist you.

Regards,
Renugadevi

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants