title: Primefaces data exporter from data table with dynamic columns
body: <p>Has anyone used primefaces data exporter component successfully with primefaces datatable with dynamic columns?</p>
  
  <p>In my case, it generates the excel file but it is empty.</p>
  
  <p>But if I keep everything same and just normal datatable instead of datatable with dynamic columns, the generated excel file is not empty.</p>
  
  <p>I am trying to see if somebody has done this.</p>
  
  <pre><code>&lt;p:dataExporter /&gt;
  and
  &lt;p:dataTable /&gt; //(with dynamic columns)
  </code></pre>
  
  <p>It works fine if I don't use the dynamic columns.</p>
  
  <p>I am using PrimeFaces 2.2.1, JSF 2.0, poi-3.2-FINAL.jar.</p>