# How can I scroll to a specific line automatically?

**URL:** https://discourse.nodered.org/t/how-can-i-scroll-to-a-specific-line-automatically/98743
**Category:** Dashboard
**Created:** [20 August 2025 08:31 UTC](https://discourse.nodered.org/t/how-can-i-scroll-to-a-specific-line-automatically/98743 "2025-08-20T08:31:22Z")
**Posts on this page:** 5
**Page:** 1

<div class="post-metadata">

### Author: ![Saeco](https://avatars.discourse-cdn.com/v4/letter/s/e68b1a/32.png) [@Saeco](https://discourse.nodered.org/u/Saeco)
#### Post date: [20 August 2025 08:31 UTC](https://discourse.nodered.org/t/how-can-i-scroll-to-a-specific-line-automatically/98743/1 "2025-08-20T08:31:22Z")

</div>

I’m trying to scroll automatically to a specific row in a html-table, displayed with the template. Usually this is no problem, when you mark each row with `<div>` and use a little JS in the head section - but the dashboard seems to filter such marks. It also deletes marks such as …

Now it’s looking this way:

 ![Bild 20.08.25 um 09.51](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/4/e/4ee25e3c268cd3f9814562a4d063d4318cde3aa6.jpeg)

But I want it to display this way:

 ![Bild 20.08.25 um 09.52](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/c/a/cafff1e1cf06763a52cda619201aef1055b6609b.jpeg)

Any suggestions how to fix this? 🙂

---

<div class="post-metadata">

### Author: ![omrid](https://avatars.discourse-cdn.com/v4/letter/o/77aa72/32.png) [@omrid](https://discourse.nodered.org/u/omrid)
#### Post date: [21 August 2025 18:02 UTC](https://discourse.nodered.org/t/how-can-i-scroll-to-a-specific-line-automatically/98743/2 "2025-08-21T18:02:08Z")

</div>

Are you on dashboard 1 or 2?  
Which table object are you using: pure HTML? Tabulator? v-data-table? `ui-table` node?

Tabulator supports programmatic scrolling (`table.scrollToRow()` ). You can instantiate it in your template node, or (If you are on dashboard 2), use the node `omrid01/node-red-dashboard-2-table-tabulator`.

---

<div class="post-metadata">

### Author: ![Saeco](https://avatars.discourse-cdn.com/v4/letter/s/e68b1a/32.png) [@Saeco](https://discourse.nodered.org/u/Saeco)
#### Post date: [22 August 2025 10:25 UTC](https://discourse.nodered.org/t/how-can-i-scroll-to-a-specific-line-automatically/98743/3 "2025-08-22T10:25:53Z")

</div>

Hello,

it is the dashboard 1 and a usual html table.

---

<div class="post-metadata">

### Author: ![omrid](https://avatars.discourse-cdn.com/v4/letter/o/77aa72/32.png) [@omrid](https://discourse.nodered.org/u/omrid)
#### Post date: [22 August 2025 12:07 UTC](https://discourse.nodered.org/t/how-can-i-scroll-to-a-specific-line-automatically/98743/4 "2025-08-22T12:07:11Z")

</div>

In dashboard 1 you can use the `ui table` node, which is based on Tabulator

---

<div class="post-metadata">

### Author: ![system](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/1X/d073cd938eafa2e558d7c2cd59003b3ef4963033.png) [@system](https://discourse.nodered.org/u/system)
#### Post date: [21 September 2025 12:08 UTC](https://discourse.nodered.org/t/how-can-i-scroll-to-a-specific-line-automatically/98743/5 "2025-09-21T12:08:08Z")

</div>

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.
