X-Git-Url: http://git.ithinksw.org/extjs.git/blobdiff_plain/530ef4b6c5b943cfa68b779d11cf7de29aa878bf..f5240829880f87e0cf581c6a296e436fdef0ef80:/docs/source/JsonReader.html?ds=sidebyside diff --git a/docs/source/JsonReader.html b/docs/source/JsonReader.html index ae7c6f94..f96a5e1a 100644 --- a/docs/source/JsonReader.html +++ b/docs/source/JsonReader.html @@ -7,7 +7,7 @@
/*!
- * Ext JS Library 3.2.1
+ * Ext JS Library 3.3.0
  * Copyright(c) 2006-2010 Ext JS, Inc.
  * licensing@extjs.com
  * http://www.extjs.com/license
@@ -31,7 +31,7 @@ var myReader = new Ext.data.JsonReader({
     // constructor that provides mapping for reading the record data objects
     {@link Ext.data.DataReader#fields fields}: [
         // map Record's 'firstname' field to data object's key of same name
-        {name: 'name'},
+        {name: 'name', mapping: 'firstname'},
         // map Record's 'job' field to data object's 'occupation' key
         {name: 'job', mapping: 'occupation'}
     ]