X-Git-Url: http://git.ithinksw.org/extjs.git/blobdiff_plain/7a654f8d43fdb43d78b63d90528bed6e86b608cc..3789b528d8dd8aad4558e38e22d775bcab1cbd36:/docs/source/Field3.html diff --git a/docs/source/Field3.html b/docs/source/Field3.html index ff177b3b..c929cfbf 100644 --- a/docs/source/Field3.html +++ b/docs/source/Field3.html @@ -1,4 +1,21 @@ -
/**
+
+
+
+
+ The source code
+
+
+
+
+
+
+ /**
* @author Ed Spencer
* @class Ext.data.Field
* @extends Object
@@ -135,7 +152,7 @@ Ext.define('Ext.data.Field', {
}
},
- /**
+ /**
* @cfg {String} name
* The name by which the field is referenced within the Model. This is referenced by, for example,
* the <code>dataIndex</code> property in column definition objects passed to {@link Ext.grid.property.HeaderContainer}.
@@ -143,7 +160,7 @@ Ext.define('Ext.data.Field', {
* definition may consist of just a String for the field name.</p>
*/
- /**
+ /**
* @cfg {Mixed} type
* (Optional) The data type for automatic conversion from received data to the <i>stored</i> value if <code>{@link Ext.data.Field#convert convert}</code>
* has not been specified. This may be specified as a string value. Possible values are
@@ -159,7 +176,7 @@ Ext.define('Ext.data.Field', {
* {@link Ext.data.Types} class.</p>
*/
- /**
+ /**
* @cfg {Function} convert
* (Optional) A function which converts the value provided by the Reader into an object that will be stored
* in the Model. It is passed the following parameters:<div class="mdetail-params"><ul>
@@ -218,7 +235,7 @@ var myData = [
];
* </code></pre>
*/
- /**
+ /**
* @cfg {String} dateFormat
* <p>(Optional) Used when converting received data into a Date when the {@link #type} is specified as <code>"date"</code>.</p>
* <p>A format string for the {@link Ext.Date#parse Ext.Date.parse} function, or "timestamp" if the
@@ -227,21 +244,21 @@ var myData = [
*/
dateFormat: null,
- /**
+ /**
* @cfg {Boolean} useNull
* <p>(Optional) Use when converting received data into a Number type (either int or float). If the value cannot be parsed,
* null will be used if useNull is true, otherwise the value will be 0. Defaults to <tt>false</tt>
*/
useNull: false,
- /**
+ /**
* @cfg {Mixed} defaultValue
* (Optional) The default value used <b>when a Model is being created by a {@link Ext.data.reader.Reader Reader}</b>
* when the item referenced by the <code>{@link Ext.data.Field#mapping mapping}</code> does not exist in the data
* object (i.e. undefined). (defaults to "")
*/
defaultValue: "",
- /**
+ /**
* @cfg {String/Number} mapping
* <p>(Optional) A path expression for use by the {@link Ext.data.reader.Reader} implementation
* that is creating the {@link Ext.data.Model Model} to extract the Field value from the data object.
@@ -260,7 +277,7 @@ var myData = [
* return the desired data.</p>
*/
mapping: null,
- /**
+ /**
* @cfg {Function} sortType
* (Optional) A function which converts a Field's value to a comparable value in order to ensure
* correct sort ordering. Predefined functions are provided in {@link Ext.data.SortTypes}. A custom
@@ -283,13 +300,13 @@ sortType: function(value) {
* </code></pre>
*/
sortType : null,
- /**
+ /**
* @cfg {String} sortDir
* (Optional) Initial direction to sort (<code>"ASC"</code> or <code>"DESC"</code>). Defaults to
* <code>"ASC"</code>.
*/
sortDir : "ASC",
- /**
+ /**
* @cfg {Boolean} allowBlank
* @private
* (Optional) Used for validating a {@link Ext.data.Model model}, defaults to <code>true</code>.
@@ -298,7 +315,7 @@ sortType: function(value) {
*/
allowBlank : true,
- /**
+ /**
* @cfg {Boolean} persist
* False to exclude this field from the {@link Ext.data.Model#modified} fields in a model. This
* will also exclude the field from being written using a {@link Ext.data.writer.Writer}. This option
@@ -307,4 +324,6 @@ sortType: function(value) {
*/
persist: true
});
-
\ No newline at end of file
+
+
+