Grid Height Resize in real time?

Is it possible to resize grid height after it has been initialized from dhtmlXGridFromTable()?

I am trying to implemented a grid height toggle button that lets the user decide how much grid height he or she wants.

You can do it in next way
    grid.entBox.style.height=“500px”; //set necessary height
    grid.setSizes(); // force inner structure update