private boolean populateTableGrid() { TableDevicesCollection tableDevicesColl = (ims.clinical.vo.lookups.LookupHelper.getTableDevices(domain.getLookupService())); if (tableDevicesColl == null || tableDevicesColl.size() == 0) { return false; } form.lyr1().tabDetails().ctn1().grdTable().getRows().clear(); for (int i = 0; i < tableDevicesColl.size(); i++) { grdTableRow newRow = form.lyr1().tabDetails().ctn1().grdTable().getRows().newRow(); newRow.setcolTable(tableDevicesColl.get(i).getIItemText()); newRow.setcolOtherReadOnly(true); newRow.setValue(tableDevicesColl.get(i)); } return true; }