Hi,
I am displaying asp.net datagrid in DIV tag. I have specified
following css to DIV.
..divBox
{
border:solid 1px black;
min-width : 150px
max-height : 150px;
background-color : Silver;
position:absolu te;
overflow-y:auto;
}
It is working fine if width of grid is greater than min-width. But
when height is greater than instead of only verticle scroll bar, both
scrollbars are being displayed.
How can horizontal scroll bar can be avoid.
Help is highly appriciated.
-Nitya
I am displaying asp.net datagrid in DIV tag. I have specified
following css to DIV.
..divBox
{
border:solid 1px black;
min-width : 150px
max-height : 150px;
background-color : Silver;
position:absolu te;
overflow-y:auto;
}
It is working fine if width of grid is greater than min-width. But
when height is greater than instead of only verticle scroll bar, both
scrollbars are being displayed.
How can horizontal scroll bar can be avoid.
Help is highly appriciated.
-Nitya
Comment