title: Jasper Reports Exclude Column Headers in a Table?
body: <p>I am using Jasper reports for a project that needs both PDF and CSV output and the majority of the data is the Detail section, within a table.  I know you can remove the pageHeader and columnHeader at the document level, but is it possible to remove, or only print once, the column headers within a table?  If not the CSV outputs, </p>
  
  <pre><code>User Type,Time,Username,Event,IP Address,Student Name,Student Number
  Admin,6/6/11 8:09 PM,admin,Uploaded a report file.,0:0:0:0:0:0:0:1,,
   ....[about 20 more lines of CSV then]....
  User Type,Time,Username,Event,IP Address,Student Name,Student Number
  </code></pre>
  
  <p>This just looks very unprofessional and isn't very functional.  Like I said I know the page level headers can be removed with:</p>
  
  <pre><code>        jasperPrint.getPropertiesMap().setProperty("net.sf.jasperreports.export.exclude.origin.band.1", "pageHeader");
          jasperPrint.getPropertiesMap().setProperty("net.sf.jasperreports.export.exclude.origin.band.2", "pageFooter");
          jasperPrint.getPropertiesMap().setProperty("net.sf.jasperreports.export.csv.exclude.origin.band.1", "columnHeader");
          jasperPrint.getPropertiesMap().setProperty("net.sf.jasperreports.export.csv.exclude.origin.band.2", "pageFooter");
          jasperPrint.getPropertiesMap().setProperty("net.sf.jasperreports.export.csv.exclude.origin.keep.first.band.1", "columnHeader");
  </code></pre>
  
  <p>but I am looking for a solution to remove them on table for CSV output only, not PDF.  Is this possible?</p>
  
  <p>Any help would be greatly appreciated!</p>
  
  <p>Thanks,
  Chuck</p>