# Ui-table dsiplay control

**URL:** <https://discourse.nodered.org/t/ui-table-dsiplay-control/48780>\
**Category:** General\
**Created:** [22 July 2021 14:39 UTC](https://discourse.nodered.org/t/ui-table-dsiplay-control/48780 "2021-07-22T14:39:53Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![trust](https://avatars.discourse-cdn.com/v4/letter/t/b38774/32.png) [@trust](https://discourse.nodered.org/u/trust)\
**Post date:** [22 July 2021 14:39 UTC](https://discourse.nodered.org/t/ui-table-dsiplay-control/48780/1 "2021-07-22T14:39:53Z")

</div>

I have a table which is updated about once a second. It's sized so that if it gets bigger, it still fits in the same display area, but scroll bars appear and it can be scrolled.  
But each time it's updated. the view resets to the top of the table.  
How can a prevent it from resetting the display to the top of the table, so I can see what's in the rest of the table?

---

<div class="post-metadata">

**Author:** ![Christian-Me](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/christian-me/32/10774_2.png) [@Christian-Me](https://discourse.nodered.org/u/Christian-Me)\
**Post date:** [13 September 2021 05:29 UTC](https://discourse.nodered.org/t/ui-table-dsiplay-control/48780/2 "2021-09-13T05:29:57Z")

</div>

This is a normal behavior especially when you update the complete table data.

Here you can find a solution for adding lines in a logging table, perhaps it helps to understand how to control the scroll position of ui-table

> [@Problem with data displayed in UI-Table when switching Tabs](https://discourse.nodered.org/t/problem-with-data-displayed-in-ui-table-when-switching-tabs/48940/7):
>
> So something like a logfile .... This is using a little bit more complex (but universal) subflow I use for all my tables. But you can do it more simple too: A) a function node which gets an array (of lines) from the flow context and pushes the new line at the end B) a second function node triggered by ui-control gets the same context array and send it to ui-table I splittend it up to different nodes to make it easier to understand / debug - The tricky part is to scroll the table if you in…

---

<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:30 UTC](https://discourse.nodered.org/t/ui-table-dsiplay-control/48780/3 "2021-11-12T05:30:23Z")

</div>

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