Wijmo provides a class for accessing data via a
datareader object and an optional proxy parameter. The data could be stored locally via a specific format, and parsed via a
datareader object. The proxy property holds the URL to the service that renders or holds the required data, which is usually in the backend and not stored on the client side.
We refer to this class as the
wijdatasource class. The
jquery.wijmo.wijdatasource.js library is responsible for creating the
wijdatasource widget class and it contains two sample proxy and reader classes.
Assume we want to parse or simply display a list of a few popular cities of the world, and that this data will be created and stored locally in our widget as follows: ...