Do you have trouble view the information in your list view? Do you need more width space or the list contains very long list of info? Is your solution to add in the scroll bars? If your answer is yes, you are at the right article!
How it works
- Create a list view
- Copy from here and paste the script in your data label expression.
$(“[name=’AreaItem‘]”).parent().parent().wrap(“width:100%;overflow:auto;height: 100px; overflow-y: scroll;‘>
Words in red – Name of your list view in the form
Words in orange – Set horizontal scrollbar (besides the script you have to set the list view width under the properties panel)
Words in blue – Set vertical scrollbar (you will specify the height in the script)
- Take note of the list view properties panel
- Please take note, the above script provide both vertical and horizontal bar. If you would like either of scroll bar only, you can just remove the redundant lines.
EG For vertical bar only:
$(“[name=’AreaItem‘]”).parent().parent().wrap(“height: 100px; overflow-y: scroll;‘>
- And TADA! Your scrolls should appear as below!