OData

This view shows how you can consume data directly from OData sources.

In this case, the data is being retrieved directly using jQuery ajax calls. The calls specify OData urls that include the server, table, columns, and a filter. The arrays returned are used as data sources for CollectionView objects.

The controller listens to the currentChanged event in the Categories view and updates the Products view to show only products within the selected category.

This is a very simple example that only shows some existing data, but this is all that is required in many scenarios (dashboard applications for example). If you are developing Data-intensive applications you may need more powerful tools such as BreezeJS or JayData, which are also supported by Wijmo.

Categories

{{categories.currentItem? categories.currentItem.CategoryName: ''}} ({{products.items.length}} items)