dhtmlxGrid autoheigth() issue

I want to be able to have the grid expand to “fill up” the remaining portion of a container (e.g. html table row). I am aware of the setAutoHeigth(true), setAutoHeigth(true,300) etc. but I need to be able have the grid height be “automatic” WITH scrollbars. I have tried the setAutoHeigth(true,“auto”) suggestion found in this KB, but it seems to give me a javascript error. My goal is to have the grid detect the remaining space and start scrolling if the grid height goes beyond this value. I will not know what the container height will be ahead of time.

For static grid you can just specify height of grid container as “100%”, it will work in most cases.
In other cases the
    setAutoHeigth(true,“auto”)
must work ( please beware that it will only starting dhtmlxGrid 1.3, it will throw js error in case of older versions of code )

Please provide more details if error still appears for you.