Hi all,
I can't find in the store of components the "File Download". Only the "File Upload" is available.
I was wondering if there is any way to customize the current upload component to add the download button ?
Is it planned in your roadmap ? If so, in which version it will be released ?
Thanks a lot.
Regards,
Download File component
You can add a custom button into the toolbar to be inline with the upload buttons. You will have to write typescript to do the actual downloading.
Code: Select all
<p-fileUpload #fileInput name="fileIcon" url="someurl">
<ng-template pTemplate="toolbar">
<button pButton type="button" label="Download Files"
(click)="Downloadfiles()">
</button>
</ng-template>
</p-fileUpload>
-
- Information
-
Who is online
Users browsing this forum: No registered users and 13 guests