setDataSource

Sets the dataSource of an existing tabstrip and rebinds it.

Parameters

dataSource Object|Array|kendo.data.DataSource

Example

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

<script>
  $("#tabstrip").kendoTabStrip({
    dataContentField: "content",
    dataTextField : "label"
  })
  var dataSource = kendo.data.DataSource.create([
    { label: "Label", content: "Content" }
  ])

  $("#tabstrip").data("kendoTabStrip").setDataSource(dataSource);
</script>
In this article