Is this possible? Overflow-y:visible with overflow-x:scroll/auto

Posted by Kostrzak on Stack Overflow See other posts from Stack Overflow or by Kostrzak
Published on 2012-07-10T09:13:33Z Indexed on 2012/07/10 9:15 UTC
Read the original article Hit count: 466

Filed under:
|
|
|
|

We have a problem in our team which we cannot solve :/ We made our own Grid control. When you click on the icon next to column name, the pop-up div (call it divFilter) appears and you can set filtering there. There can be dynamically generated div for each column so we can have f.e 5 divFilters in 5 different places.

It works, but the only problem is that when there is for example 1-2 records on the Grid, the pop-up div will be displayed under horizontal scroll of div. We've tried with z-index but it looks like that won't work. We can set overflow:visible but we also need that horizontal scroll(our grids have up to 50 columns). We thought that we can solve it buy setting overflow-y visible and overflow-x:scroll but according to our tests and that page: http://www.brunildo.org/test/Overflowxy2.html it isn't possible(for IE7,IE8).

I've also found this similar question CSS overflow-y:visible, overflow-x:scroll ,but our pop-up div must be position:absolute, because we need to position them under columns.

Any ideas or workaround to it? Is it even possible to set it only with CSS without using Javascript(for dynamically changing gridview hight etc.).

Thanks!!

© Stack Overflow or respective owner

Related posts about html

Related posts about css