Quantcast
Channel: Telerik Forums RSS
Viewing all articles
Browse latest Browse all 84751

Cascade with angular

$
0
0

Hi all,

 

We has some issue with DDL. 

 

There is some description: 

We have kendo window

with two DDL. 

 

<selectkendo-drop-down-list
id="aaa"
k-data-text-field="'Name'"
k-data-value-field="'Id'"
k-data-source="OneSource"/>
 
<selectkendo-drop-down-list
id="bbb"
k-data-text-field="'Name'"
k-data-value-field="'Id'"
k-cascade-from-field="'parentid'"
k-cascade-from="'aaa'"
k-data-source="TwoSource"/>

--------------------------------------

And data from server. [Server give all data (I`ll check with fiddler)]

Parent ds: (OneSource)

{"Id":1,"CodeXXX":"One","Name":"SuperValue","RandomNumber":1},
{"Id":2,"CodeXXX":"Two","Name":"SuperValue2","RandomNumber":2}

Child ds: (TwoSource)

{"Id":1,"CodeXXX":"A","Name":"Name1","parentid":1,"RandomNumber":1},{"Id":2,"CodeXXX":"B","Name":"Name2","parentid":1,"RandomNumber":2},{"Id":4,"CodeXXX":"C","Name":"Name3","parentid":1,"RandomNumber":3},{"Id":5,"CodeXXX":"D","Name":"Name4","parentid":1,"RandomNumber":4},
 

First ddl work properly but second didn't cascade or show any date.

If it is important  we are using v2015.2.805

 


Viewing all articles
Browse latest Browse all 84751

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>