# Double Scroll-bar

**URL:** <https://forum.servoy.com/t/double-scroll-bar/17317>\
**Category:** Classic Servoy\
**Created:** [July 1, 2013, 11:15am UTC](https://forum.servoy.com/t/double-scroll-bar/17317 "2013-07-01T11:15:45Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![Peter\_de\_Groot](https://avatars.discourse-cdn.com/v4/letter/p/b4bc9f/32.png) [@Peter\_de\_Groot](https://forum.servoy.com/u/Peter_de_Groot)\
**Post date:** [July 1, 2013, 11:15am UTC](https://forum.servoy.com/t/double-scroll-bar/17317/1 "2013-07-01T11:15:45Z")

</div>

Using Servoy 7.1 WC,

I get double scroll-bars when there is no data in the table-view  
[attachment=1]wc\_table\_no\_data.png[/attachment]  
If there is data in the table-view I get  
[attachment=0]wc\_table\_data.png[/attachment]

The scroll-bar properties are set to ‘Horizontal : never’ and ‘Vertical : always’  
and in the onOpen method of the solution I set

```auto
application.putClientProperty(APP_UI_PROPERTY.TABLEVIEW_WC_DEFAULT_SCROLLABLE, true);

```

How can I prevent the second scroll-bar showing when there is not data in the table-view?

Regards,

Peter

 ![wc_table_data.png](https://canada1.discourse-cdn.com/flex010/uploads/servoy/original/2X/a/a756abcfcb9c852b2101c3ff3cb694737ec11f31.png)

 ![wc_table_no_data.png](https://canada1.discourse-cdn.com/flex010/uploads/servoy/original/2X/b/ba2699224ea557158289f90cea7d091a54bb8b8d.png)

---

<div class="post-metadata">

**Author:** ![mboegem](https://yyz2.discourse-cdn.com/flex010/user_avatar/forum.servoy.com/mboegem/32/4399_2.png) [@mboegem](https://forum.servoy.com/u/mboegem)\
**Post date:** [July 1, 2013, 11:57am UTC](https://forum.servoy.com/t/double-scroll-bar/17317/2 "2013-07-01T11:57:15Z")

</div>

Disable the scrollbars and move back to paging?

Until now I’ve seen very weird behaviour of the scrollbars in WC on my attempts to enable this.  
Every time it forced me to move back to the ‘good’ old paging method. ![:(]( "Sad")

---

<div class="post-metadata">

**Author:** ![david](https://avatars.discourse-cdn.com/v4/letter/d/aeb1de/32.png) [@david](https://forum.servoy.com/u/david)\
**Post date:** [July 1, 2013, 3:57pm UTC](https://forum.servoy.com/t/double-scroll-bar/17317/3 "2013-07-01T15:57:39Z")

</div>

We’ve been using scroll bars with tables for months now and haven’t seen this. So it must be a bug in 7.1 – we’re deployed on 6.1.6rc at the moment.

---

<div class="post-metadata">

**Author:** ![Peter\_de\_Groot](https://avatars.discourse-cdn.com/v4/letter/p/b4bc9f/32.png) [@Peter\_de\_Groot](https://forum.servoy.com/u/Peter_de_Groot)\
**Post date:** [July 2, 2013, 5:43am UTC](https://forum.servoy.com/t/double-scroll-bar/17317/4 "2013-07-02T05:43:24Z")

</div>

Hello David,

I tested this with Servoy 6.1.5 and the result is the same,

> The scroll-bar properties are set to ‘Horizontal : never’ and ‘Vertical : always’

if I set the vertical scroll-bar property to ‘when needed’ the second scroll-bar is not visible.

Regards,

Peter

---

<div class="post-metadata">

**Author:** ![david](https://avatars.discourse-cdn.com/v4/letter/d/aeb1de/32.png) [@david](https://forum.servoy.com/u/david)\
**Post date:** [July 2, 2013, 1:13pm UTC](https://forum.servoy.com/t/double-scroll-bar/17317/5 "2013-07-02T13:13:12Z")

</div>

Gotcha. Definitely report this!

---

<div class="post-metadata">

**Author:** ![Harjo](https://yyz2.discourse-cdn.com/flex010/user_avatar/forum.servoy.com/harjo/32/4873_2.png) [@Harjo](https://forum.servoy.com/u/Harjo)\
**Post date:** [July 6, 2013, 9:59am UTC](https://forum.servoy.com/t/double-scroll-bar/17317/6 "2013-07-06T09:59:34Z")

</div>

Troy already did! ![;-)]( "Wink") [https://support.servoy.com/browse/SVY-4746](https://support.servoy.com/browse/SVY-4746)

---

<div class="post-metadata">

**Author:** ![david](https://avatars.discourse-cdn.com/v4/letter/d/aeb1de/32.png) [@david](https://forum.servoy.com/u/david)\
**Post date:** [July 6, 2013, 1:52pm UTC](https://forum.servoy.com/t/double-scroll-bar/17317/7 "2013-07-06T13:52:28Z")

</div>

> Harjo:  
> Troy already did! ![;-)]( "Wink") [https://support.servoy.com/browse/SVY-4746](https://support.servoy.com/browse/SVY-4746)

Ooooops. Now that is funny… ![:P]( "Razz")
