fixed datagrid resize issue