Edit this page

footerTemplate String |Function

The template used to render the footer template. The footer template receives the widget itself as a part of the data argument. Use the widget fields directly in the template.


instance Object

The widget instance.

Example - specify footerTemplate as a string

<input id="autocomplete" />
  dataSource: [
    { id: 1, name: "Apples" },
    { id: 2, name: "Oranges" }
  dataTextField: "name",
  footerTemplate: 'Total <strong>#: instance.dataSource.total() #</strong> items found'
Is this article helpful? Yes / No
Thank you for your feedback!

Give article feedback

Tell us how we can improve this article