I have a grid that I fill using an IQueryable.
I also have a dropdown to change how many row are shown at the time. It however only removes the bar with the step to the next/previous page there are the same amount of rows showing.
Is there a trick to getting all the rows to show when changing the pagesize?
I have made a ref="testGrid" and tried testGrid.reload() after calling the database but it doesn't change anything.
Thanks much @enchev ! I ran into the same issue and your solution works. It's a little strange that you have to call Reload manually. One would think that page change should take care of it automatically.
Also, I don't see any description of what "Change" is for in this documentation: DataGrid (Blazor)
Anyway, instead doing Change="@(args => dataGridRef.Reload())" , one can just do PageSizeChanged="@(args => dataGridRef.Reload())" . The difference is that I don't know what "Change" is for but I can guess what "PageSizeChanged" is for.