Edit this page

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);

  console.log(sheet.dataSource);

</script>
Is this article helpful? Yes / No
Thank you for your feedback!

Give article feedback

Tell us how we can improve this article

close
Dummy