Properties Methods Events Direct Link

Class CQ.Ext.grid.PropertyRecord

Package:CQ.Ext.grid
Class:PropertyRecord
Extends:Object
Clientlib:cq.widgets
A specific CQ.Ext.data.Record type that represents a name/value pair and is made to work with the CQ.Ext.grid.PropertyGrid. Typically, PropertyRecords do not need to be created directly as they can be created implicitly by simply using the appropriate data configs either via the CQ.Ext.grid.PropertyGrid.source config property or by calling CQ.Ext.grid.PropertyGrid.setSource. However, if the need arises, these records can also be created explicitly as shwon below. Example usage:
var rec = new CQ.Ext.grid.PropertyRecord({
    name: 'Birthday',
    value: new Date(Date.parse('05/26/1972'))
});
// Add record to an already populated grid
grid.store.addSorted(rec);

Public Properties

This class has no public properties.

Public Methods

Method Defined By

Public Events

This class has no public events.