This is a migrated thread and some comments may be shown as answers.

How to use an array of datasources?

1 Answer 58 Views
ListView
This is a migrated thread and some comments may be shown as answers.
Brian D
Top achievements
Rank 2
Brian D asked on 14 Sep 2016, 07:06 PM

I'd like to be able to use kendoListView within an ng-repeat to display several list views, but it can't seem to find the data source when I use an array of data sources. 

E.g., something like:

         <div ng-repeat="listIndex in [0, 1, 2]">
                <kendo-list-view id="listView-{{listIndex}}"
                                 k-data-source="dataSource[{{listIndex}}]"
                    <div k-template>
                        {{dataItem.Name}}
                    </div>
                </kendo-list-view>
          </div>

1 Answer, 1 is accepted

Sort by
0
Brian D
Top achievements
Rank 2
answered on 14 Sep 2016, 10:48 PM
Never mind ... the problem was unrelated to this, and I got it figured out.
Tags
ListView
Asked by
Brian D
Top achievements
Rank 2
Answers by
Brian D
Top achievements
Rank 2
Share this question
or