Templates

You can control the way the Upload displays the file list by using a template.

To define the template, nest a <ng-template> tag with the kendoUploadFileTemplate directive applied to it inside the <kendo-upload> selector.

In the template, you can:

  • Get a reference to the files which are associated with the current item by using the let-files directive.
  • Get a reference to the current state of each file by using the let-state directive. If the batch option of the Upload is set to true, let-state reflects the state of the whole batch.
  • Get a reference to the instance of the Upload component. It is exported as kendoUpload by using the exportAs metadata property.
Example
View Source
Edit In Stackblitz  
Change Theme:

In this article

Not finding the help you need?