Getting and setting RadzenGrid page numbers

Hi, I'm using your Blazor Components to display a datagrid on my site

I would like to get the current page number of that grid and also set it, so users could save their position

It seems like the only Page related fields I can access are PageNumbersCount and PagerPosition though, so how would I go about doing this?

thanks

1 Like

Hi @kingkong,

Try this:
https://github.com/radzenhq/radzen-blazor/blob/master/Radzen.Blazor/PagedDataBoundComponent.cs#L27

You can find rest of the paging API in the same class.

1 Like

thanks, what was I was missing was setting the @ref variable so I could use the API in my code

Hi @kingkong,

Possible to share your code.

Thanks.