private void populateGridResults(CarePlanWorklistVoCollection listCarePlans) { form.grdResult().getRows().clear(); if (listCarePlans == null || listCarePlans.size() == 0) return; for (int i = 0; i < listCarePlans.size(); i++) { CarePlanWorklistVo record = listCarePlans.get(i); if (record == null) continue; addCarePlanWorklistRow(record); } }