document.getElementById(GridName): Object is required. RRS feed

  • Question

  • Hi, I use the following sort of script to re-size the height of the sub grid.

    function fnHeight()
    document.getElementById("testingGrid").control.style.height = "4px";

    But the above code gives me the following error message at this line 4.

    <Message>Object required</Message>


    So, Please let me know how can I change the above code to change the height of the sub-grid.

    Your kind help and suggestions will encourage me in this regards.

    Thank You.


    Friday, November 8, 2013 1:52 PM