Problem with scrolling when grid's width and height is set in percentage
I have a grid with width=100% and height=100%
it is inside the table cell that is 20% of the table width and 100% of its height.
When I have a large data set and try to scroll down:
1. The scroller would jump back up
2. The grid would scroll down but rows would be empty
try adding style="table-layout:fixed" to the parent table.
after that grid is drawn as a single line.
I can e-mail you a zip file with that example if this will help
please let me know
the grid (height: 100%; width: 100%) is inside a span with style="DISPLAY: inline-block; POSITION: absolute; TOP: 0px; LEFT: 0px; WIDTH: 494px; HEIGHT: 81px".
the grid's scrollbar moves correctly, but the grid itself does not scroll down.
The scroll bar not scroll...
[ Grid goes here, 100% height and 100% width]
(By the way, how do you post so example code shows nicely formatted?)
I'm displaying the grid on a page within an IFrame. The page displayed in the IFrame contains a table with the style set to table-layout:fixed (as suggested above). The grid displays perfectly, but as soon as you scroll, the whole thing goes pear-shaped.
I'm not sure how the scrolling mechanism works, but it's as if the grid refreshes half-way through the scroll, and then disregards any offset value that may (or may not) have been set. The grid jumps back to the top, and the scroll bar becomes ineffective.
Clicking on any of the headers brings the scrolling back to life, but once you start scrolling, the grid refreshes again, and you're back to square one.
If you scroll down with the keyboard arrow keys, the grid stays static, but the highlight does move to the bottom of the grid (which of course you can't see)
Sometimes it's hard to determine wether the scrollbar is part of activegrid or comes from the outer container. Setting the container to "overflow: hidden;" solved the problem.
This topic is archived.
Back to support forum
Version 2Looking for AW 2.6 ?
The old site is here.