noDataTemplate String|Function|Boolean (default: true)

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!'
In this article