# Datagrid Last Row

**URL:** <https://forum.radzen.com/t/datagrid-last-row/17680>\
**Category:** Radzen Blazor Studio\
**Created:** [June 25, 2024, 9:22am UTC](https://forum.radzen.com/t/datagrid-last-row/17680 "2024-06-25T09:22:55Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![daveg1466](https://forum.radzen.com/user_avatar/forum.radzen.com/daveg1466/32/18767_2.png) [@daveg1466](https://forum.radzen.com/u/daveg1466)\
**Post date:** [June 25, 2024, 9:22am UTC](https://forum.radzen.com/t/datagrid-last-row/17680/1 "2024-06-25T09:22:55Z")

</div>

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.

---

<div class="post-metadata">

**Author:** ![enchev](https://forum.radzen.com/user_avatar/forum.radzen.com/enchev/32/16_2.png) [@enchev](https://forum.radzen.com/u/enchev)\
**Post date:** [June 25, 2024, 11:06am UTC](https://forum.radzen.com/t/datagrid-last-row/17680/2 "2024-06-25T11:06:23Z")

</div>

I'm afraid that there is no such API.

---

<div class="post-metadata">

**Author:** ![daveg1466](https://forum.radzen.com/user_avatar/forum.radzen.com/daveg1466/32/18767_2.png) [@daveg1466](https://forum.radzen.com/u/daveg1466)\
**Post date:** [June 25, 2024, 11:35am UTC](https://forum.radzen.com/t/datagrid-last-row/17680/3 "2024-06-25T11:35:34Z")

</div>

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?

---

<div class="post-metadata">

**Author:** ![enchev](https://forum.radzen.com/user_avatar/forum.radzen.com/enchev/32/16_2.png) [@enchev](https://forum.radzen.com/u/enchev)\
**Post date:** [June 25, 2024, 11:58am UTC](https://forum.radzen.com/t/datagrid-last-row/17680/4 "2024-06-25T11:58:50Z")

</div>

For such cases usually scrollIntoView() is used:

```auto
@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()")) />

```

---

<div class="post-metadata">

**Author:** ![daveg1466](https://forum.radzen.com/user_avatar/forum.radzen.com/daveg1466/32/18767_2.png) [@daveg1466](https://forum.radzen.com/u/daveg1466)\
**Post date:** [June 25, 2024, 12:13pm UTC](https://forum.radzen.com/t/datagrid-last-row/17680/5 "2024-06-25T12:13:11Z")

</div>

Thank you! I will try that!
