Changes for datagrid when in stretchHeight mode.