2 * @class Ext.grid.property.Property
3 * A specific {@link Ext.data.Model} type that represents a name/value pair and is made to work with the
4 * {@link Ext.grid.property.Grid}. Typically, Properties do not need to be created directly as they can be
5 * created implicitly by simply using the appropriate data configs either via the {@link Ext.grid.property.Grid#source}
6 * config property or by calling {@link Ext.grid.property.Grid#setSource}. However, if the need arises, these records
7 * can also be created explicitly as shown below. Example usage:
9 var rec = new Ext.grid.property.Property({
11 value: Ext.Date.parse('17/06/1962', 'd/m/Y')
13 // Add record to an already populated grid
14 grid.store.addSorted(rec);
17 * @param {Object} config A data object in the format:<pre><code>
22 * The specified value's type
23 * will be read automatically by the grid to determine the type of editor to use when displaying it.
25 Ext.define('Ext.grid.property.Property', {
26 extend: 'Ext.data.Model',
28 alternateClassName: 'Ext.PropGridProperty',