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.

Parameters

instance Object

The widget instance.

Example - specify footerTemplate as a string

<input id="multicolumncombobox" />
<script>
$("#multicolumncombobox").kendoMultiColumnComboBox({
  dataSource: [
    { id: 1, name: "Apples" },
    { id: 2, name: "Oranges" }
  ],
  dataTextField: "name",
  dataValueField: "id",
  footerTemplate: 'Total <strong>#: instance.dataSource.total() #</strong> items found',
  columns: [
    { field: "name" },
    { field: "id" }
  ]
});
</script>
In this article
Not finding the help you need? Improve this article