CMS-1965 Grid does not update height after expanding tree
Just grouped the gridContainer code.