# Scroll very long list

**URL:** https://discourse.nodered.org/t/scroll-very-long-list/52055
**Category:** Dashboard
**Created:** [10 October 2021 07:40 UTC](https://discourse.nodered.org/t/scroll-very-long-list/52055 "2021-10-10T07:40:00Z")
**Posts on this page:** 5
**Page:** 1

<div class="post-metadata">

### Author: ![RitaSghe](https://avatars.discourse-cdn.com/v4/letter/r/43a26b/32.png) [@RitaSghe](https://discourse.nodered.org/u/RitaSghe)
#### Post date: [10 October 2021 07:40 UTC](https://discourse.nodered.org/t/scroll-very-long-list/52055/1 "2021-10-10T07:40:00Z")

</div>

**SIMULATE SCROLL ON TABLET**  
Hi all,  
I don't know the exact translation in english,  
but I'd like to scroll the item of a very long (ui) list and I'd like to simulate with two button the scrolling up and down on the screen of tablet that is normally done with a finger ...

It's possible? (the image is the simulation of what I would like)

![scroll](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/6/2/62c8e601118143714dbff3c8b214c326b969bf7e.jpeg)

---

<div class="post-metadata">

### Author: ![Steve-Mcl](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/steve-mcl/32/4826_2.png) [@Steve-Mcl](https://discourse.nodered.org/u/Steve-Mcl)
#### Post date: [10 October 2021 11:07 UTC](https://discourse.nodered.org/t/scroll-very-long-list/52055/2 "2021-10-10T11:07:32Z")

</div>

> [@RitaSghe](#):
>
> It's possible? (the image is the simulation of what I would like)

Yes, with a little bit javascript in a ui-template.

Here is a demo to get you moving...

> **[scrollBy buttons - JSFiddle - Code Playground](https://jsfiddle.net/af3yw06r/1/)**
>
> Test your JavaScript, CSS, HTML or CoffeeScript online with JSFiddle code editor.

---

<div class="post-metadata">

### Author: ![RitaSghe](https://avatars.discourse-cdn.com/v4/letter/r/43a26b/32.png) [@RitaSghe](https://discourse.nodered.org/u/RitaSghe)
#### Post date: [10 October 2021 12:10 UTC](https://discourse.nodered.org/t/scroll-very-long-list/52055/3 "2021-10-10T12:10:21Z")

</div>

Thank you!

I'll make some test, but I'm not sure be able to implement the code in node-red ...

---

<div class="post-metadata">

### Author: ![RitaSghe](https://avatars.discourse-cdn.com/v4/letter/r/43a26b/32.png) [@RitaSghe](https://discourse.nodered.org/u/RitaSghe)
#### Post date: [13 October 2021 05:31 UTC](https://discourse.nodered.org/t/scroll-very-long-list/52055/4 "2021-10-13T05:31:44Z")

</div>

Hi,  
I did not succeed ....  
can you give me some indication how to set up the code in node-red?

---

<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: [12 November 2021 05:32 UTC](https://discourse.nodered.org/t/scroll-very-long-list/52055/5 "2021-11-12T05:32:22Z")

</div>

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