Hello. I am trying to bind a an object with an array of objects to a kendo.data.DataSource. The array of objects will be for a dropdownlist and everything else outside of the array will be for other fields on the form. Is there a way to do this? I know that if I just had an array of objects I could easily bind the dropdownlist to that DataSource, but is it possible to do it with an object with a list (array) of objects? Below is my code.
HTML MARKUP
<
input
data-role
=
'dropdownlist'
data-option-label
=
'-- Select One --'
data-auto-bind
=
'true'
data-text-field
=
'ServingPeriod'
data-value-field
=
'AdmServingPeriodId'
data-primitive-value
=
'true'
data-bind
=
'value: SelectedItem, source: DailyEntries'
/>