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
35
UltraWebGrid Scrolling / Fixed Headers Question
posted

 Hi,

 I am currently using the NetAdvantage 2008 UltraWebGrid. I have altered the grid, so that it doesn't display scrollbars, but rather, adjusts it's size according to the browser (and displays scrollbars appropriately). This was quite simple:

UltraWebGrid1.Width = Unit.Empty;

UltraWebGrid1.Height = Unit.Empty;

The problem is that the grid header isn't fixed. I actually need to create a fixed, multi-line header. Is it possible to do this under the circumstances detailed above.

Thanks!

 

 

Parents
No Data
Reply
  • 28464
    posted

    I am not sure that this scenario will be supported in this way - for the header to be fixed, the scrollbars must be controlled by the grid itself, whereas in your setup the browser takes care of scrolling and scrolls everything, header included.

    You might be able to get better results with percentages for width / height (e.g. 100%) - just please note that <table> height in quirksmode in IE is not supported in percentages (you need to remove the DOCTYPE).

    Also, you can check out the FrameStyle settings and experiment with height / width there.

            <displaylayout bordercollapsedefault="Separate" name="UltraWebGrid1"  CellClickActionDefault="RowSelect"
                rowheightdefault="20px" version="4.00">
                <framestyle borderstyle="Solid" borderwidth="1px" font-names="Verdana"
                    font-size="8pt" height="200px" width="325px">
                </framestyle>

Children