CSV Download button

Forum rules
Please note that response time for technical support is within 3-5 business days.
Post Reply
dmund1024
Posts: 23
Joined: 13 Apr 2017, 21:31

27 Jul 2017, 18:20

On the data table I had implemented the CSV download button and suddenly that has stopped working. Can you please help. This is an urgent request.

<p-dataTable #dt [value]="employeeAuditRolesHistory" exportFilename="RoleAudit" [rows]="10" [paginator]="true" [pageLinks]="3" [rowsPerPageOptions]="[5,10,20,30]" [responsive]="true" scrollable="true" scrollHeight="500px">
<p-header>
<div class="ui-helper-clearfix ">
<button class= "ui-shadow-5" type="button" pButton icon="fa-file-o" iconPos="left" label="CSV" (click)="dt.exportCSV()" style="float:left"></button>
</div>
</p-header>
<p-column *ngFor="let col of cols" [field]="col.field" [header]="col.header" [sortable]="true"></p-column>
</p-dataTable>

This was working before and I am not sure why this download stopped working. Now I am not even able to click the button. Seems like the (click) is no longer being recognized.

dmund1024
Posts: 23
Joined: 13 Apr 2017, 21:31

08 Aug 2017, 15:08

This issue is resolved.

mert.sincan
Posts: 5281
Joined: 29 Jun 2013, 12:38

14 Aug 2017, 13:29

Thanks for the update!

Post Reply

Return to “Ultima - PrimeNG”

  • Information
  • Who is online

    Users browsing this forum: No registered users and 20 guests