-
Notifications
You must be signed in to change notification settings - Fork 31
/
Copy pathmain.vue
39 lines (38 loc) · 1.43 KB
/
main.vue
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
<template>
<kendo-datasource ref="datasource1"
:type="'odata'"
:server-filtering="true"
:transport-read-url="'https://demos.telerik.com/kendo-ui/service/Northwind.svc/Categories'">
</kendo-datasource>
<kendo-combobox id="categories"
:data-source-ref="'datasource1'"
:filter="'contains'"
:data-text-field="'CategoryName'"
:data-value-field="'CategoryID'">
</kendo-combobox>
<br/>
<br/>
<kendo-datasource ref="datasource2"
:type="'odata'"
:server-filtering="true"
:transport-read-url="'https://demos.telerik.com/kendo-ui/service/Northwind.svc/Products'">
</kendo-datasource>
<kendo-combobox disabled="disabled"
:data-source-ref="'datasource2'"
:auto-bind="false"
:cascade-from="'categories'"
:filter="'contains'"
:data-text-field="'ProductName'"
:data-value-field="'ProductID'">
</kendo-combobox>
</template>
<script>
import { ComboBox } from '@progress/kendo-dropdowns-vue-wrapper';
import { KendoDataSource } from '@progress/kendo-datasource-vue-wrapper';
export default {
components: {
'kendo-combobox': ComboBox,
'kendo-datasource': KendoDataSource
}
}
</script>