Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
821
How to get the scrollbars work
posted

Hello Dear

My very basic problem is I want to get the grid properly scrolled. It would be ok if the get the grid scrolls by itself, or any parent html element that is able to scroll (containing the grid); Of course no absolut position can be written to the grid, it has to be relative.

In pseudo;

 <surrounding_element style="overflow:scroll;width:100%;height:100%">

<igtbl:UltraWebGrid>   <-- The grid should have its original size (whatever it size is) and do not scroll, because the div scrolls

</surrounding_element>

 OR

<surrounding_element>

<igtbl:UltraWebGrid Width="100%" Height="100%" Scrollbars="auto">

</surrounding_element>

@Edit

If i do the same stuff with "plain" html elements, it works;

 <surrounding_element style="overflow:scroll;width:50%;height:50%">

<-- content that would be bigger than the surrounding element in height and width -- >

</surrounding_element>

This works in firefox and IE as expected, but with a simple sample grid with 5 rows and columns, it gets screwed up

The reason i have to do this is that the container where the grid is in it, can have dynamic sizes. Because this grid is in a panel that has a splitter which can be moved by the user, or the container has relative size to have a good layout or the user just want to be able to size the IE itself in size. None of the solutions above does work properly (to large grid, overflow, double scrollbars, mixed scrollbarrs --> IE scrols in vertical and grid horizontal or vice versa.

Im using IG Webversion 7.3.20073.1043

Thanks for your help.

Parents Reply Children