X-Git-Url: http://git.ithinksw.org/extjs.git/blobdiff_plain/c930e9176a5a85509c5b0230e2bff5c22a591432..refs/heads/old:/docs/source/JsonStore.html diff --git a/docs/source/JsonStore.html b/docs/source/JsonStore.html index 08f131f6..de08faac 100644 --- a/docs/source/JsonStore.html +++ b/docs/source/JsonStore.html @@ -1,11 +1,18 @@ - -
-/** + + + +* An object literal of this form could also be used as the {@link #data} config option. - *The source code + + + + +/*! + * Ext JS Library 3.3.1 + * Copyright(c) 2006-2010 Sencha Inc. + * licensing@sencha.com + * http://www.sencha.com/license + */ +/** * @class Ext.data.JsonStore * @extends Ext.data.Store *@@ -31,7 +38,7 @@ var store = new Ext.data.JsonStore({ } *Small helper class to make creating {@link Ext.data.Store}s from JSON data easier. @@ -18,7 +25,7 @@ var store = new Ext.data.JsonStore({ storeId: 'myStore', // reader configs root: 'images', - idProperty: 'name', + idProperty: 'name', fields: ['name', 'url', {name:'size', type: 'float'}, {name:'lastmod', type:'date'}] }); *
*Note: Although not listed here, this class accepts all of the configuration options of + *
*Note: Although not listed here, this class accepts all of the configuration options of * {@link Ext.data.JsonReader JsonReader}.
* @constructor * @param {Object} config @@ -47,6 +54,6 @@ Ext.data.JsonStore = Ext.extend(Ext.data.Store, { })); } }); -Ext.reg('jsonstore', Ext.data.JsonStore); - +Ext.reg('jsonstore', Ext.data.JsonStore); + \ No newline at end of file