Welcome to the Blazor feedback portal. We’re happy you’re here! If you have feedback on how to improve the Blazor, we’d love to hear it!

  • Check out the features or bugs others have reported and vote on your favorites. Feedback will be prioritized based on popularity.
  • If you have feedback that’s not listed yet, submit your own.

Thanks for joining our community and helping improve Syncfusion products!

1
Vote

Summary

Application crashes during normal usage of data grid with "SelectionType.Multiple" and "SelectionMode.Both".

Steps to Reproduce

The issue is most consistently reproducible using the following steps:

  1. Prepare a data grid with:
    - At least two rows
    -
    SelectionType.Multiple
    -
    SelectionMode.Both

  2. Enable "DetailedErrors" true in appsettings.Development.json.
  3. Start the application.
  4. Click a cell in the first row.
  5. Press CTRL+C to copy the row content.
  6. Hold down SHIFT and click the row below.
  7. Observe the application crashes with the following error:

    Error: System.NullReferenceException: Object reference not set to an instance of an object.
       at Syncfusion.Blazor.Grids.Internal.Selection`1.ClearRedundantCellSelections(Row`1 row, Cell`1 cell, MouseAndKeyArgs e)
       at Syncfusion.Blazor.Grids.Internal.Selection`1.RowCellSelectionClickHandler(MouseAndKeyArgs e, ValueTuple`3 target)
       at Syncfusion.Blazor.Grids.Internal.Selection`1.ClickHandler(MouseEventArgs e, ValueTuple`3 target)
       at Syncfusion.Blazor.Grids.Internal.GridCellBase`1.CellClickHandler(MouseEventArgs e, Boolean IsCheckBox)
       at Syncfusion.Blazor.Grids.Internal.GridCell`1.b__0_6(MouseEventArgs e)
       at Microsoft.AspNetCore.Components.ComponentBase.CallStateHasChangedOnAsyncCompletion(Task task)
       at Microsoft.AspNetCore.Components.RenderTree.Renderer.GetErrorHandledTask(Task taskToHandle, ComponentState owningComponentState)