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.
CSV Download button
Forum rules
Please note that response time for technical support is within 3-5 business days.
Please note that response time for technical support is within 3-5 business days.
-
- Posts: 5281
- Joined: 29 Jun 2013, 12:38
Thanks for the update!
Github Profile: https://github.com/mertsincan
-
- Information
-
Who is online
Users browsing this forum: No registered users and 17 guests