In this code the sparkline code is static, but I hope to make it dynamic ... do you have some advice?
Thanks in advance ...
1 Answer, 1 is accepted
answered on 19 Dec 2013, 09:52 AM
Your ListView is initialized via data attributes but it is not bound to the source via MVVM binding. The data-source attribute is equal to:
In order to bind the widget to a source from the ViewModel you should use data-bind="source: myDataSource" attribute. In this way the ListView's template bindings will be evaluated each time the widget refreshes its content.
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!