:: Forum >>

Grid width and scrollbar

Hi,

I have the following issue with the grid.

I have a grid with 5 columns. Exactly After the fifth column I need to show a vertical bar about 18-20 px in width for the scroll bar. The scrollbar will always be visible but be grayed out if all the rows fit on the screen. I guess we can see this behavior in Internet Explorer.

Currenly if I specify the grid width that extends the existing 5 columns width by 20px I usually see grid line for every row.

Awaiting for some sort of tip from any of you.
Wednesday, September 22, 2004
create treeview by using code javascript by doubleclick
Thursday, September 23, 2004

Add following CSS :-)

.active-scroll-bars {overflow-y: scroll;}

Above will not work on anything other than IE, use following but it will result unwanted hrizontal scroll baralso :-(

.active-scroll-bars {overflow: scroll;}

Cheers,

Can't edit post on this forum, will post any updates in this thread.

http://thej2ee.com/x2/modules/newbb/viewtopic.php?viewmode=flat&topic_id=12&forum=4
Sudhaker Raj
Thursday, September 23, 2004
Assume that a grid can hold of "n" rows and there are "n-1" rows displayed in the grid completely but the "n" th row is half inside the grid and half outside the grid. At that moment the vertical scrollbar is not getting displayed. Only if one or more rows is outside the grid, the vertical scroll bar gets displayed. I face a situation like the above. I want to display vertical scroll bar even if a little bit portion of the last row is outside the grid. What could be done ? What change should be made in the following code ?

.active-scroll-bars {overflow-y: scroll;}

Thanks,
Devendran
Thursday, February 24, 2005

This topic is archived.


Back to support forum

Forum search