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
392
Dynamically Resizing WebGrid
posted

I would like my webgrid to dynamically resize as I resize the browser window so that the webGrid's scrollbars are always visible.  How do I do that?

Parents
  • 3732
    posted

    Hi,

    I was wondering about the size of the grid. If it's as wide as the page, then you can set the width of the grid to be 100% and that should take care of it. Here is how you can set it in code:

    this.UltraWebGrid1.Width = Unit.Percentage(100);

    If the grid is not as wide as the page, then I need more details on where and how the grid is displayed and how you want to resize it.

    Thanks

    Sarita

     

     

Reply Children