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
670
Dynamic sizing of Web Grid
posted

Is it possible to adjust the size of the web grid if the user expands the size of the web page?

I would like to grow the web grid downwards if the user chooses to expand the web page to full screen.

The web grid is AJAX mode, with pages enabled due to the large data sets.

Parents
  • 28464
    posted

    I believe this is possible using the UltraWebGrid client-side object model (CSOM) documented here:

    http://help.infragistics.com/Help/NetAdvantage/NET/2008.1/CLR2.0/html/WebGrid_Object_CSOM.html

    and the resize(width, height) function in particular. You can call it from window.resize event. For example:

        window.onresize = function()
        {
            var grid = igtbl_getGridById("<%= UltraWebGrid1.ClientID %>");
            grid.resize(50,50);
        }

Reply Children