DataGrid select all checkbox

I have a checkbox in the header for the user to select all rows after they've completed filtering for the rows they want to print. I took the following code from these forums but the variable _selectedTags doesn't have the filtered rows but still has the original rows from the initial load. If the user clicks on each row the _selectedTags has the selected rows, just not when I use Select All.

I've continued to research and have been unable to determine why the _selectedTags do not represent the selected data in this case though this is the code from the demo.

  1. Filter rows
  2. Click the Select All checkbox in the Header
  3. Check_selectedTags and it will show all the rows from in the initial data sync, not the Filtered rows that were selected

The Select All is selecting all of the original rows but not the filtered rows.

Hey @Darin_Vanatta,

Maybe you should refer to the author of the original post where you've copied the code for details.

I copied the code from the DataGrid Multiple Selection example (I changed variable names): Blazor DataGrid Component - Multiple Selection | Free UI Components by Radzen

You can download the entire project with our demos and debug it to check what are differences with your implementation.

I have exactly the same issue. Darin_Vanatta did you solve it?
PS: I figured it out - the problem was using AsNoTracking in db service.