ExtJs 4.1 Nest grid using Row Expander

I have implemented Nested grid using ExtJS4.1 Row expander, but I am facing problem in adjusting height of parent grid when child grid (inner grid) expands i.e parent grid will not adjust its own height as soon as child contents changes.