Skip to content

fix: [Select All not selecting newly added rows when using ItemProvider] in [FluentDataGrid] #4148

@cdaSHD

Description

@cdaSHD

🐛 Bug Report

I am using a FluentDataGrid with an ItemProvider in virtual mode and most of the time things are okay (apart from some wacky over-scrolling sometimes but that is another issue for another day!). However when we insert a new row into the data grid the SelectAll function from the SelectColumn ignores the newly added row.
Please find example project below:

SelectionIssue.zip

  1. Open and run the project attached
  2. Go to the DB page and press the new button
  3. Click the select all checkbox

🤔 Expected Behavior

The newly added row should also be selected.

😯 Current Behavior

The newly added row is not selected.

🌍 Your Environment

  • OS & Device: Windows 11
  • Browser: Chrome
  • .NET and Fluent UI Blazor library Version: .Net 9.0 and Fluent UI 4.12.1

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions