create

Creates a data source instance using the specified configuration. If the configuration is a data source instance, the same instance will be returned.

Returns

kendo.data.DataSource—The new data source instance.

Parameters

options Object

The data source configuration.

Example - parsing the dataSource configuration option in a custom widget

<script>
var dataSource = kendo.data.DataSource.create({
  data: [
    { name: "Jane Doe" }
  ]
});
</script>
In this article