Skip to content

Commit

Permalink
Merge pull request #365 from DevSeg/development
Browse files Browse the repository at this point in the history
-completing preparation
  • Loading branch information
sundayAdu authored Feb 28, 2023
2 parents 767c3b1 + 9752f6a commit a6249ee
Showing 1 changed file with 23 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,8 @@
import com.vaadin.ui.TabSheet;
import com.vaadin.ui.TabSheet.SelectedTabChangeEvent;
import com.vaadin.ui.TabSheet.SelectedTabChangeListener;
import com.vaadin.ui.components.grid.HeaderCell;
import com.vaadin.ui.components.grid.HeaderRow;
import com.vaadin.ui.VerticalLayout;
import com.vaadin.ui.components.grid.HeaderCell;
import com.vaadin.ui.components.grid.HeaderRow;
Expand Down Expand Up @@ -111,6 +113,27 @@ public CompletionAnalysisTabSheets(FormAccess formAccess) {
// gridLayout = new VerticalLayout();
criteria = new CampaignFormDataCriteria();
grid = new CompletionAnalysisGrid(criteria, formAccess);
HeaderRow mainHeader = grid.getDefaultHeaderRow();

HeaderCell regionNameHeader = mainHeader.getCell("area");
regionNameHeader.setDescription("Region");
HeaderCell provinceNameHeader = mainHeader.getCell("region");
provinceNameHeader.setDescription("Province");
HeaderCell districtNameHeader = mainHeader.getCell("district");
districtNameHeader.setDescription("District");
HeaderCell ccodeNameHeader = mainHeader.getCell("ccode");
ccodeNameHeader.setDescription("CCode");
HeaderCell clusterNumberHeader = mainHeader.getCell("clusternumber");
clusterNumberHeader.setDescription("Cluster Number");
HeaderCell houseHoldHeader = mainHeader.getCell("analysis_a");
houseHoldHeader.setDescription("ICM Household Monitoring");
HeaderCell icmRevisitsHeader = mainHeader.getCell("analysis_b");
icmRevisitsHeader.setDescription("ICM Revisits");
HeaderCell supervisorMonitpringHeader = mainHeader.getCell("analysis_c");
supervisorMonitpringHeader.setDescription("ICM Supervisor Monitoring");
HeaderCell teamMonitpringHeader = mainHeader.getCell("analysis_d");
teamMonitpringHeader.setDescription("ICM Team Monitoring");

this.addComponent(createFilterBar());
extractUrl();
this.addComponent(grid);
Expand Down

0 comments on commit a6249ee

Please sign in to comment.