dataSource kendo.data.DataSource

The DataSource instance to which the Sheet is bound to.

Example

<div id="spreadsheet"></div>
<script>

  var dataSource = new kendo.data.DataSource({
    transport: {
      read:  {
        url: "//demos.telerik.com/kendo-ui/service/Products",
        dataType: "jsonp"
      }
    }
  });

  $("#spreadsheet").kendoSpreadsheet();

  var spreadsheet = $("#spreadsheet").data("kendoSpreadsheet");
  var sheet = spreadsheet.activeSheet();
  sheet.setDataSource(dataSource);

/* The result can be observed in the DevTools(F12) console of the browser. */
  console.log(sheet.dataSource);

</script>
In this article