Edit this page

noDataTemplate String |Function (default: "NO DATA FOUND.")

The template used to render the "no data" template, which will be displayed if no results are found or the underlying data source is empty. The noData template receives the widget itself as a part of the data argument. The template will be evaluated on every widget data bound.

Important The popup will open when 'noDataTemplate' is defined

Example - specify noDataTemplate as a string

<select id="multiselect"></select>
  dataSource: [
    { id: 1, name: "Apples" },
    { id: 2, name: "Oranges" }
  dataTextField: "name",
  dataValueField: "id",
  noDataTemplate: 'No Data!'
Is this article helpful? Yes / No
Thank you for your feedback!

Give article feedback

Tell us how we can improve this article