We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents b10c844 + 9e6c94c commit 8a9913eCopy full SHA for 8a9913e
api/javascript/data/datasource.md
@@ -146,7 +146,7 @@ The array of data items which the data source contains. The data source will wra
146
Can be set to a string value if the [schema.type](#configuration-schema.type) option is set to "xml".
147
148
#### Example - set the data items of a data source
149
-
+ <script>
150
var dataSource = new kendo.data.DataSource({
151
data: [
152
{ name: "Jane Doe", age: 30 },
@@ -157,6 +157,7 @@ Can be set to a string value if the [schema.type](#configuration-schema.type) op
157
var janeDoe = dataSource.at(0);
158
console.log(janeDoe.name); // displays "Jane Doe"
159
});
160
+ </script>
161
162
#### Example - set the data items as an XML string
163
<script>
0 commit comments