private void populateScreenFromData(HCGTestsVo voHCG) { form.grdHCg().getRows().clear(); if (voHCG==null) return; HCGTestItemVoCollection collHCGTestItems = voHCG.getHCGTests(); for (int i=0;i<collHCGTestItems.size();i++ ) { addRowToHCGGrid(collHCGTestItems.get(i)); } form.grdHCg().setValue(form.getGlobalContext().Clinical.getSelectedHCGTestItem()); }