What is the difference between data and dataSource in widgets with Kendo KO?

So, knockout-kendo has an option called data, and knockout-kendo has a property called dataSource. What is the difference between them and how they interact with each other / change when I specify both the data and the data source in kendogrid of different values.

+1
kendo-ui knockout-kendo
Mar 27 '14 at 12:51
source share
1 answer

Starting with version 0.6.2, you can pass actual data, a dataSource configuration, or an existing Kendo data source (kendo.data.DataSource) for the data parameter.

In older versions, you sometimes had to pass null for data , and then pass the existing data source in the dataSource option.

So, at this point you will be fine with data .

+3
Mar 27 '14 at 13:14
source share



All Articles