Is there any way to go to the last row in a datagrid. I know I can go to the last page as long as paging is enabled, but I am looking for a way to go to the last row with paging disabled.
I'm afraid that there is no such API.
Ok, I am creating a pwa with an emulated texting platform and the only thing that I can't seem to do is scroll to the last roll on send...any suggestions?
For such cases usually scrollIntoView() is used:
@using Microsoft.JSInterop
@inject IJSRuntime JSRuntime
<RadzenButton Text="Scroll to last row" Click=@(args => JSRuntime.InvokeVoidAsync("eval", $@"document.querySelector('.rz-grid-table tr:last-child').scrollIntoView()")) />
Thank you! I will try that!