E
egarcia
Guest
Hello James, In general, you do not need to write your own code to define the Data Sources. When using a blank view, you would set the View's Data Sources in the View Properties to specify the DataSources. The usage would be automatic by the view (code is generated into controller.js). If you want to customize the code you can create your own DataSource definitions in controller.public.js. The code to use the JSDO would look like the following: $("#employees").kendoDropDownList({ dataTextField: "FirstName", dataValueField: "EmpNum", dataSource: { type: "jsdo", transport: { jsdo: "beEmployee" } } }); Here are some links to some examples: http://oemobiledemo.progress.com/ http://oemobiledemo.progress.com/jsdo/example014.html https://github.com/CloudDataObject/kendo-ui-builder-samples Check both the master and develop branches. There are some samples available that have not been promoted yet to the master branch. Please let me know if you need additional information. I hope this helps, Edsel
Continue reading...
Continue reading...