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
315
WebGrid width automatic not working
posted

I want my webgrid to not have scroll bars if it is wider than my browser window and allow me to use the main browser window scollbar

I set my DisplayLayout.TableLayout property to Auto, UseFixedHeaders to False, and StationaryMargins to No

The generated HTML for my table is 

style="overflow:hidden;table-layout:fixed;position:relative;width:100%;height:300px;"

If my HTML looked like this

style="overflow:hidden;table-layout:automatic;position:relative;width:100%;height:300px;"

with table-layout:automatic then I think it would be working fine but I can't seem to get the table-layout to generate as automatic.

I even tried the hack listed in KB02529 and that does generate the correct table-layout in the CSS class referenced by the table but  the <table> tag still has the style listed so that overrides the CSS class.

Any suggestions would be greatly appreciated

Thx


 

Parents
No Data
Reply
  • 315
    posted

     I should add that I set scrollbars to off and don't specify a width. What I see when it renders is the last few columns on the right don't display and there are no scrollbars anywhere that allow me to see them.

    I am using version 2008 vol 1

     

    Thx

Children
No Data