private void search() { form.grdDetails().getRows().clear(); if (form.cmbCustomLists().getValue() != null) { PatientCustomListVo voPCL = domain.getPatientCustomList(form.cmbCustomLists().getValue()); if (voPCL != null) { voPCL.getListEntry().sort(); populateGrid(voPCL.getListEntry()); CustomListSearchCriteriaVo voFilter = form.getGlobalContext().Core.getCustomListSearchCriteriaVo(); if (voFilter != null && voFilter.getColumnSortOrder() != null) { setSortOrderForColumn(voFilter.getColumnSortOrder().getColumnId(), voFilter.getColumnSortOrder().getSortOrder()); } } } }
private void tickCol(grdDetailsRow row, PatientCustomItemVo voItem) { if (form.getGlobalContext().Core.getCustomListSearchCriteriaVoIsNotNull()) { CustomListSearchCriteriaVo voCurrent = form.getGlobalContext().Core.getCustomListSearchCriteriaVo(); for (int i = 0; voCurrent != null && i < voCurrent.getViewedItems().length; i++) { if (voCurrent.getViewedItems()[i] != null && voCurrent.getViewedItems()[i].equals(voItem.getPatient().getID_Patient())) { row.setColViewed(form.getImages().Core.Tick); row.setTooltipForColViewed("Patient viewed");//WDEV-14694 } } } }