private boolean populateGrid() { boolean bFound = false; form.grdSymptoms().getRows().clear(); SymptomsCollection lkpCollSymptoms = LookupHelper.getSymptoms(domain.getLookupService()); if(lkpCollSymptoms == null) return bFound; TreeNode[] nodes = lkpCollSymptoms.getRootNodes(); if(nodes.length < lkpCollSymptoms.size()) bFound = true; for(int x = 0; x < nodes.length; x++) { if(nodes[x] instanceof Symptoms) { addRow(null, (Symptoms) nodes[x]); } } form.grdSymptoms().expandAll(); return bFound; }