Skip to content

Instantly share code, notes, and snippets.

@shazmoh
Created October 29, 2011 23:31
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save shazmoh/1325234 to your computer and use it in GitHub Desktop.
Save shazmoh/1325234 to your computer and use it in GitHub Desktop.
IFRS
var storeData2 = {
identifier: 'abbr',
label: 'name',
items: [{
abbr: 'ec',
name: 'Ecuador',
capital: 'Quito'
},
{
abbr: 'eg',
name: 'Egypt',
capital: 'Cairo'
},
{
abbr: 'sv',
name: 'El Salvador',
capital: 'San Salvador'
},
{
abbr: 'gq',
name: 'Equatorial Guinea',
capital: 'Malabo'
},
{
abbr: 'er',
name: 'Eritrea',
capital: 'Asmara'
},
{
abbr: 'ee',
name: 'Estonia',
capital: 'Tallinn'
},
{
abbr: 'et',
name: 'Ethiopia',
capital: 'Addis Ababa'
}]
}
<div data-dojo-type="dojo.data.ItemFileReadStore" data-dojo-props="data:storeData2"
data-dojo-id="countryStore">
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment