Is there a way to get the total number of pages on a DataGrid?

On this example, the total is 12.

Hello,
the easy way is to calculate them using ur rows number and the page size.

I found a "protected" variable that contains the number of pages without having to calculate it but its more complex since u need to access it via "reflection".

From ur grid reference u need to retrive the var "bottomPager" of type Radzen.Blazor.RadzenPage then from the value u just retrived u need to retrive the var "numberOfPages" where the total number of pages is contained (All of this using reflection)

Hope is helpful