How to resize grid with smart rendering

I have dhtmlxGrid Professional 1.3. I want to be able to resize the grid dynamically. I can do this, but I’m having trouble getting dhtmlxGrid to react to the size of the containing DIV changing.

I’ve used 'setSizes() to make it do part of the job, but since I’m using smart rendering, it doesn’t always populate the newly available rows with data when the grid is grown.

Any ideas?

grid.setSizes() - will correctly adjust grid to its container size, but it really will not trigger additional rows loading || showing in case of smartRendering.
To force such operation please add next call after it.
this command will force rendering additional rows if necessary

( we will try to make such behaviour automatic in next version of grid )