leName="customers" exporter="#{dataExporterView.textExporter}"/>
                        </p:commandButton>
                    </div>

                    <div>
                        <h5>Page Only</h5>
                        <p:commandButton value="XLS" styleClass="mr-2 mb-2 ui-button-outlined">
                            <p:dataExporter type="xls" target="tbl" fileName="customers" pageOnly="true"/>
                        </p:commandButton>
        
                        <p:commandButton value="XLSX