Start line:  
End line:  

Snippet Preview

Snippet HTML Code

Stack Overflow Questions
joo.classLoader.prepare("package ext.config",/* {*/

 * Formerly known as "SimpleStore".
 <p>Small helper class to make creating <a href=""></a>s from Array data easier. An ArrayStore will be automatically configured with a <a href=""></a>.</p><p>A store configuration would be something like:</p><pre><code>var store = new{
 // store configs
 autoDestroy: true,
 storeId: 'myStore',
 // reader configs
 idIndex: 0,
 fields: [
 {name: 'price', type: 'float'},
 {name: 'change', type: 'float'},
 {name: 'pctChange', type: 'float'},
 {name: 'lastChange', type: 'date', dateFormat: 'n/j h:ia'}
 </code></pre><br/><br/> <p>This store is configured to consume a returned object of the form:</p><pre><code>var myData = [
 ['3m Co',71.72,0.02,0.03,'9/1 12:00am'],
 ['Alcoa Inc',29.01,0.42,1.47,'9/1 12:00am'],
 ['Boeing Co.',75.43,0.53,0.71,'9/1 12:00am'],
 ['Hewlett-Packard Co.',36.53,-0.03,-0.08,'9/1 12:00am'],
 ['Wal-Mart Stores, Inc.',45.45,0.73,1.63,'9/1 12:00am']
 </code></pre>An object literal of this form could also be used as the <a href="output/">data</a> config option.<br/><br/> <p><b>&#42;Note:</b> Although not listed here, this class accepts all of the configuration options of <b><a href="">ArrayReader</a></b>.</p>
 * <p>This class serves as a typed config object for constructor of class ArrayStore.</p>
 * <p>Copyright &#169; 2011 Sencha Inc.</p>
 * @see
"public class arraystore extends",4,function($$private){var $1=ext.config;return[ 

  "public function arraystore",function arraystore(config/*:Object = null*/) {if(arguments.length<=0)config=null;


undefined];},[],[""], "0.8.0", "2.0.8"
New to GrepCode? Check out our FAQ X