# Two tables, one shared horizontal scroll bar?

**URL:** <https://forum.inductiveautomation.com/t/two-tables-one-shared-horizontal-scroll-bar/5009>\
**Category:** General Discussion\
**Created:** [August 15, 2012, 3:50pm UTC](https://forum.inductiveautomation.com/t/two-tables-one-shared-horizontal-scroll-bar/5009 "2012-08-15T15:50:25Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![dale](https://avatars.discourse-cdn.com/v4/letter/d/ecd19e/32.png) [@dale](https://forum.inductiveautomation.com/u/dale)\
**Post date:** [August 15, 2012, 3:50pm UTC](https://forum.inductiveautomation.com/t/two-tables-one-shared-horizontal-scroll-bar/5009/1 "2012-08-15T15:50:25Z")

</div>

I have a screen with two tables, top one contains data, bottom contains summary info (avg, min, max).  
Would be nice if only one horizontal scroll was visible which affected both tables, instead of each having a horiz scroll that works independently . . . any ideas?  
Is this even possible?

Also -  
The far left column contains the date, ideally this would remain in place while the other columns are scrolled; can selected columns be ‘granted immunity’ from horiz scroll?

(Client wants to be able to add flags and generally edit any cell they choose, so that is why the two are set up as separate tables each linked to a different database table)

Thanks!  
Dale

---

<div class="post-metadata">

**Author:** ![Carl.Gould](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/carl.gould/32/7262_2.png) [@Carl.Gould](https://forum.inductiveautomation.com/u/Carl.Gould)\
**Post date:** [March 29, 2013, 6:14pm UTC](https://forum.inductiveautomation.com/t/two-tables-one-shared-horizontal-scroll-bar/5009/2 "2013-03-29T18:14:26Z")

</div>

I’m sure that the silence told you as much, but I really can’t think of a great way to do this, sorry.

---

<div class="post-metadata">

**Author:** ![andytimc](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/andytimc/32/11938_2.png) [@andytimc](https://forum.inductiveautomation.com/u/andytimc)\
**Post date:** [March 12, 2019, 7:12pm UTC](https://forum.inductiveautomation.com/t/two-tables-one-shared-horizontal-scroll-bar/5009/3 "2019-03-12T19:12:24Z")

</div>

Have there been any updates to ignition that would make this functionality possible now.

---

<div class="post-metadata">

**Author:** ![pturmel](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/pturmel/32/3295_2.png) [@pturmel](https://forum.inductiveautomation.com/u/pturmel)\
**Post date:** [March 12, 2019, 8:09pm UTC](https://forum.inductiveautomation.com/t/two-tables-one-shared-horizontal-scroll-bar/5009/4 "2019-03-12T20:09:05Z")

</div>

I would try to programmatically create a special [AdjustmentListener](https://docs.oracle.com/javase/8/docs/api/java/awt/event/AdjustmentListener.html) that knows about both scrollbars and passes new adjustments from one to the other (with checks to avoid passing back and forth infinitely).  
With care, it should be possible to synchronize any number of scrollbars.
