Templates

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

To define the template, nest a <ng-template> tag with the kendoFileSelectFileTemplate directive applied to it inside the <kendo-fileselect> 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.
  • Get a reference to the instance of the FileSelect component. It is exported as kendoFileSelect by using the exportAs metadata property.
Example
View Source
Edit In Stackblitz  
Change Theme:

In this article

Not finding the help you need?