You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/api/javascript/data/datasource.md
+4-4Lines changed: 4 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1178,8 +1178,7 @@ The field from the server response which contains the data items. Can be set to
1178
1178
1179
1179
The field from the server response which contains server-side errors. Can be set to a function which is called to return the errors for response. If there are any errors, the [`error`](/api/javascript/data/datasource/events/error) event will be fired.
1180
1180
1181
-
#### Example
1182
-
1181
+
```pseudo
1183
1182
<div id="grid"></div>
1184
1183
<script>
1185
1184
var dataSource = new kendo.data.DataSource({
@@ -1202,6 +1201,7 @@ The field from the server response which contains server-side errors. Can be set
1202
1201
dataSource: dataSource
1203
1202
});
1204
1203
</script>
1204
+
```
1205
1205
1206
1206
> If this option is set and the server response contains that field, then the `error` event will be fired. The `errors` field of the event argument will contain the errors returned by the server.
1207
1207
@@ -3431,8 +3431,7 @@ A function that will handle create, update and delete operations in a single bat
3431
3431
3432
3432
The `transport.create`, `transport.update`, and `transport.delete` operations will not be executed in this case.
3433
3433
3434
-
#### Example
3435
-
3434
+
```pseudo
3436
3435
<div id="grid"></div>
3437
3436
<script>
3438
3437
var dataSource = new kendo.data.DataSource({
@@ -3479,6 +3478,7 @@ The `transport.create`, `transport.update`, and `transport.delete` operations wi
3479
3478
editable: true
3480
3479
});
3481
3480
</script>
3481
+
```
3482
3482
3483
3483
> This function will only be invoked when the DataSource is in its [batch mode](/api/javascript/data/datasource#configuration-batch).
0 commit comments