I am facing problem in IE8

When my grid is having only 2 records the autoHeight is not adjusting the height of the Grid panel.

which means there is enough space in screen to display 2 records but still only one record is dispalyed, with a very small vertical scroll bar.

the same code works fine in Mozilla.

Please help me to fix this problem.