Infragistics Home

Infragistics Forums

Infragistics community online discussions.
Welcome to Infragistics Forums Sign in | FAQ
in Search

get a web grid's height on the client side

Last post 07-03-2008 13:42 by hawi1978. 2 replies.
Page 1 of 1 (3 items)
Sort Posts: Previous Next
  • 07-03-2008 10:34

    • hawi1978
    • Top 500 Contributor
    • Joined on 07-02-2008
    • Points 238

    get a web grid's height on the client side

    This is the code i'm using

    var grid = igtbl_getGridById(gridID);

    alert("Grid Height is " + grid.MainGrid.style.height);

     The alert comes back with a blank.

    Is there any way to get the height of the grid on the client side?

    Filed under:
    • Post Points: 20
  • 07-03-2008 12:03 In reply to

    • asairam
    • Top 150 Contributor
    • Joined on 01-25-2008
    • Points 408

    Re: get a web grid's height on the client side

    In which event are you calling this code?

    • Post Points: 20
  • 07-03-2008 13:42 In reply to

    • hawi1978
    • Top 500 Contributor
    • Joined on 07-02-2008
    • Points 238

    Re: get a web grid's height on the client side

    function UltraWebGrid1_InitializeLayoutHandler(gridName){

        gridID = gridName;

        var grid = igtbl_getGridById(gridID);

        alert("Grid Height is " + grid.MainGrid.style.height);

    }
    • Post Points: 5
Page 1 of 1 (3 items)
Powered by Community Server (Commercial Edition), by Telligent Systems