First of all i am a newbie for webdevelopment.
I have the following problem:
i have a datagrid inside a table cell.
I have a datagrid that contains too many lines that when rendered, it brings a horizantal scroll to the page,
i've set the datagrid height to 100% and the width to 100% so that it appears and expands as the case needs ( i don't know the actuall width and height after rendering).
Customer decided that the scroll should appear only for the datagrid, so i've put it into a multipage, and set the multipage height to 100%, but the width to 700px (which fits well inside the page).
now, imagine with me that the rendered page will be 500px height and 1200px width.
so the multipage's height is set to be 500px, no because the grid width is 1200px and the container's (multipage's) width is 700px, a horizantal scroll will appear (and that is ok), the problem is that the new horizantal scroll bar, adds some pixels to the total height inside the container (that is if the scroll bar's height is 10 pixels, the total would be 510px), and at this moment the total height (510) is more that the container height (500), which causes a vertical scroll to appear.
I want only the horizantal scroll, the problem seems to be due of setting the heights of controls before taking into account the scrolling,