dataSource Object|Array|kendo.data.DataSource

The data source of the widget which is used to display the items. Can be a JavaScript object which represents a valid data source configuration, a JavaScript array or an existing kendo.data.DataSource instance.

If the dataSource option is set to a JavaScript object or array the widget will initialize a new kendo.data.DataSource instance using that value as data source configuration.

If the dataSource option is an existing kendo.data.DataSource instance the widget will use that instance and will not initialize a new one.

Example

<div id="tabstrip"></div>

<script>
  $("#tabstrip").kendoTabStrip({
    dataTextField: "Name",
    dataSource: [
      { Name: "Tab1"},
      { Name: "Tab2"}
    ]
  });
</script>
In this article
Not finding the help you need? Improve this article