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

Returns—The new data source instance.


options Object

The data source configuration.

Example - parsing the dataSource configuration option in a custom widget

var dataSource ={
  data: [
    { name: "Jane Doe" }
In this article