/* This file is part of Ext JS 3.4 Copyright (c) 2011-2013 Sencha Inc Contact: http://www.sencha.com/contact GNU General Public License Usage This file may be used under the terms of the GNU General Public License version 3.0 as published by the Free Software Foundation and appearing in the file LICENSE included in the packaging of this file. Please review the following information to ensure the GNU General Public License version 3.0 requirements will be met: http://www.gnu.org/copyleft/gpl.html. If you are unsure which license is appropriate for your use, please contact the sales department at http://www.sencha.com/contact. Build date: 2013-04-03 15:07:25 */ Ext.data.JsonP.Ext_grid_PropertyRecord({"alternateClassNames":[],"aliases":{},"enum":null,"parentMixins":[],"tagname":"class","subclasses":[],"extends":null,"uses":[],"html":"

Files

A specific Ext.data.Record type that represents a name/value pair and is made to work with the\nExt.grid.PropertyGrid. Typically, PropertyRecords do not need to be created directly as they can be\ncreated implicitly by simply using the appropriate data configs either via the Ext.grid.PropertyGrid.source\nconfig property or by calling Ext.grid.PropertyGrid.setSource. However, if the need arises, these records\ncan also be created explicitly as shwon below. Example usage:

\n\n
var rec = new Ext.grid.PropertyRecord({\n    name: 'Birthday',\n    value: new Date(Date.parse('05/26/1972'))\n});\n// Add record to an already populated grid\ngrid.store.addSorted(rec);\n
\n\n
Defined By

Methods

Ext.grid.PropertyRecord
view source
new( config ) : Ext.grid.PropertyRecord
...
\n

Parameters

  • config : Object

    A data object in the format: {name: [name], value: [value]}. The specified value's type\nwill be read automatically by the grid to determine the type of editor to use when displaying it.

    \n

Returns

","superclasses":[],"meta":{},"requires":[],"html_meta":{},"statics":{"property":[],"cfg":[],"css_var":[],"method":[],"event":[],"css_mixin":[]},"files":[{"href":"PropertyGrid.html#Ext-grid-PropertyRecord","filename":"PropertyGrid.js"}],"linenr":1,"members":{"property":[],"cfg":[],"css_var":[],"method":[{"tagname":"method","owner":"Ext.grid.PropertyRecord","meta":{},"name":"constructor","id":"method-constructor"}],"event":[],"css_mixin":[]},"inheritable":null,"private":null,"component":false,"name":"Ext.grid.PropertyRecord","singleton":false,"override":null,"inheritdoc":null,"id":"class-Ext.grid.PropertyRecord","mixins":[],"mixedInto":[]});