Advertisement
Guest User

Untitled

a guest
Jun 28th, 2017
58
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Java 0.85 KB | None | 0 0
  1. // loop through all the pregrouped columns to see if they are missing from display cols (visible)
  2.         ArrayList<String> newCols = new ArrayList<String>();
  3.         ColumnLayoutUtility utility = new ColumnLayoutUtility();
  4.         for ( Column col : colProps ) {
  5.             if ( !displayCols.contains(col.getColId())  ) {
  6.                 if ( col.isPreGrouped() ) {
  7.                     handleNewColumnsHelper(displayCols, col, utility, newCols);
  8.                 }
  9.                 // Handle new nonfrozen columns for type 2 and 7 reports
  10.                 if ( (rptType != null) && (rptType.equals(2) || rptType.equals(7)) && !col.isPreGrouped() && !hiddenCols.contains(col.getColId()) ) {
  11.                     System.out.println("Calling handleNewColumnsHelper()"); //
  12.                     handleNewColumnsHelper(displayCols, col, utility, newCols);  // If this works, change the name of this method
  13.                 }
  14.             }
  15.         }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement