private void populateAllergenType() { form.grdAllergenType().getRows().clear(); AllergenTypeCollection sColl2 = LookupHelper.getAllergenType(domain.getLookupService()); for (int i = 0; i < sColl2.size(); i++) { AllergenType allergenType = sColl2.get(i); GenForm.grdAllergenTypeRow row = form.grdAllergenType().getRows().newRow(); row.setcolAllergenType(allergenType.getText()); row.setValue(allergenType); } }