dojox.Grid using Dojo.Data stores via simple binding with multiple store implementations.

This page demonstrates the Grid can display data accessed by implementing Datastores. Each of the datastores used stores data in a different format, and as this test and demonstration page shows, the logic for rendering the data is virtually identical. You define your source store, you define the model for accessing the data, which is ij this case the model and then you define the layout, which maps the data attribute names to columns in the grid. You can even perform cusomization of what is displayed, as demonstrated in the layout. The image url is displayed as a clickable link that opens a new page.

The choice of stores used were ones that did not require back end services to function for sake of simplicity. There is no reason that could not be used with grid as well, it just requires a back end service to send it the query results.

Stores used:

Displays a list of countries through ItemFileReadStore format.

Displays a list of movies that were stored in CSV format.

Displays a list of books that were stored in XML format.

Displays Flickr imformation on 3DNY (Dojo Developer Days, New York) from the flickr public photo feed, accessed via the FlickrStore implementation.

Scans an Opml based document for all items of type 'country'

Loads the grid from an HTML Table.