With overflow:auto the scrollbars (vertical and horizontal) are visible 
only when it is necessary.
Making scrollbars visible only when you need them is for aesthetic reasons. 
Indeed not all the tables have a great number of columns. 

Il giorno domenica 13 aprile 2014 13:32:41 UTC+2, User ha scritto:
>
> Sorry you're right it's auto not hidden that was a typo.  But why not make 
> it visible?
>
> On Sunday, April 13, 2014 5:37:53 AM UTC-4, Paolo Caruccio wrote:
>>
>> If you mean the view "*appadmin/select/db?query=your query"* actually 
>> the table with the resulting rows is wrapped in a div with "overflow:auto
>> ".
>> Therefore if you have more columns than the width of the browser a 
>> horizontal scrollbar will be shown and the table will scroll horizontally. 
>> The horizontal scrollbar (that is managed by browser not by web2py) is 
>> positioned after the last displayed row but you can scroll the table with 
>> arrow keys on the keyboard.
>> For the sake of completeness, if the div wrapper had "overflow:hidden" 
>> you couldn't see any scrollbar.
>>     
>>
>> Il giorno domenica 13 aprile 2014 03:01:35 UTC+2, User ha scritto:
>>>
>>> In appadmin, if I query a table that has more columns than the width of 
>>> my browser there will be a horizontal scrollbar places on the div 
>>> containing the database rows.  I find this annoying because in order to 
>>> scroll horizontally I have to go to the bottom of the search results first 
>>> to find the horizontal scrollbar and then scroll.
>>>
>>> If the containing div had overflow: visible then I could use the 
>>> browser's horizontal scrollbar which is much more convenient.  My question 
>>> is what purpose does having overflow = hidden serve in this context?
>>>
>>

-- 
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
- https://code.google.com/p/web2py/issues/list (Report Issues)
--- 
You received this message because you are subscribed to the Google Groups 
"web2py-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to