| A record definition where the fields in the source data of a
Reader are declared.
Object[][] states = new Object[][]{
new Object[]{"AL", "Alabama"},
new Object[]{"AK", "Alaska"},
new Object[]{"AZ", "Arizona"},
new Object[]{"AR", "Arkansas"},
new Object[]{"CA", "California"}};
Reader reader = new ArrayReader(new RecordDef(
new FieldDef[]{
new StringFieldDef("abbr"),
new StringFieldDef("state")
}));
Store store = new Store(proxy, reader);
See Also: Store See Also: com.gwtext.client.data.MemoryProxy |