title: Is there any way to export total in summary row in a plain file?
body: <p>I am using primefaces 8.0 to show a data table with partial results. I mean, a total of quantities by day. In the view it works, but when i try to export it, it doesn't show any total. I've been searching on the internet and they talk about to use primefaces extensions but it doesn't work for me either.</p>
  <p>This my datatable</p>
  <pre><code>&lt;p:dataTable id=&quot;Opcion1&quot; value=&quot;#{llamadaBean.lista1}&quot; var=&quot;lista1&quot; rows=&quot;50&quot;
                           paginator=&quot;true&quot;
                           paginatorTemplate=&quot;{CurrentPageReport} {FirstPageLink} {PreviousPageLink} {PageLinks} {NextPageLink} {LastPageLink} {RowsPerPageDropdown}&quot;
                           currentPageReportTemplate=&quot;{startRecord}-{endRecord} of {totalRecords} records&quot;
                           sortBy=&quot;#{lista1.fecha}&quot;&gt;
                  &lt;p:column headerText=&quot;FECHA&quot;&gt;
                      &lt;p:outputLabel value=&quot;#{lista1.fecha}&quot;/&gt;
                  &lt;/p:column&gt;
                  &lt;p:column headerText=&quot;HORA&quot;&gt;
                      &lt;p:outputLabel value=&quot;#{lista1.hora}&quot;/&gt;
                  &lt;/p:column&gt;
                  &lt;p:column headerText=&quot;TRANSACCIONES&quot;&gt;
                      &lt;p:outputLabel value=&quot;#{lista1.numTransacciones}&quot;/&gt;
                  &lt;/p:column&gt;
                  &lt;p:summaryRow&gt;
                      &lt;p:column colspan=&quot;2&quot; style=&quot;text-align:right&quot;&gt;
                          &lt;h:outputText value=&quot;Total:&quot; /&gt;
                      &lt;/p:column&gt;
                      &lt;p:column&gt;
                          &lt;h:outputText value=&quot;#{lista1.totalTransacciones}&quot;&gt;                                        
                          &lt;/h:outputText&gt;
                      &lt;/p:column&gt;
                  &lt;/p:summaryRow&gt;
              &lt;/p:dataTable&gt;
  </code></pre>
  <p><a href="https://i.stack.imgur.com/MQ1dZ.jpg" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/MQ1dZ.jpg" alt="And this is what it shows" /></a></p>
  <p>Any help, please?</p>