private void populateSurgicalPackGrid( SurgicalAuditSurgicalPackVoCollection surgColl) { if( surgColl != null && surgColl.size() == 0 ) return; for( int i = 0; i < surgColl.size(); i++) { SurgicalAuditSurgicalPackVo tempVo = surgColl.get(i); if( tempVo != null ) { grdSurgicalPackRow row = form.grdSurgicalPack().getRows().newRow(); row.setColumnNameOfSetDevice(tempVo.getSurgicalPackIsNotNull() ? tempVo.getSurgicalPack().getIItemText():null); row.setTooltipForColumnNameOfSetDevice(tempVo.getSurgicalPackIsNotNull() ? tempVo.getSurgicalPack().getIItemText():null); row.setColumnBarcodeNo(tempVo.getBarcodeNumber()); row.setTooltipForColumnBarcodeNo(tempVo.getBarcodeNumber()); row.setColumnFreeText(tempVo.getComment()); row.setTooltipForColumnFreeText(tempVo.getComment()); tempVo.setIsSaved(Boolean.TRUE); row.setValue(tempVo); } } }