private void loadCauseOfDeathGridLookups() { form.grdCauseofDeath().getRows().clear(); CauseofDeathCollection coll = LookupHelper.getCauseofDeath(domain.getLookupService()); for (int i = 0; coll != null && i < coll.size(); i++) { grdCauseofDeathRow row = form.grdCauseofDeath().getRows().newRow(); row.setColCause(coll.get(i)); row.setColCauseReadOnly(true); } }
private void loadCauseOfDeathGridLookups() { form.grdCauseofDeath().getRows().clear(); CauseofDeathCollection coll = LookupHelper.getCauseofDeath(domain.getLookupService()); for (int i = 0; coll != null && i < coll.size(); i++) { grdCauseofDeathRow row = form.grdCauseofDeath().getRows().newRow(); row.setColCause(coll.get(i)); row.setCellColCauseTooltip(coll.get(i) != null ? coll.get(i).getText() : ""); row.setColCauseReadOnly(true); row.setCellColConditionTooltip("Right click for available actions to add Condition"); } }