private void loadEPrescribingLookup() { form.grdDetails().getRows().clear(); ElectronicPrescribingButtonCollection lkpColl = LookupHelper.getElectronicPrescribingButton(domain.getLookupService()); if (lkpColl != null) { for (int x=0; x < lkpColl.size(); x++) { grdDetailsRow row = form.grdDetails().getRows().newRow(); row.setColButton(lkpColl.get(x).getText()); row.setTooltipForColButton(lkpColl.get(x).getText()); row.setValue(lkpColl.get(x)); } } }