Record Class
Provides a wrapper around a standard javascript object. Can be inserted into a Recordset instance.
Methods
getValue
-
field
Retrieve a particular (or all) values from the object
Parameters:
-
field
String(optional) The key to retrieve the value from. If not supplied, the entire object is returned.
Attributes
data
Object
The object stored within the record instance
Fires event dataChange
Fires when the value for the configuration attribute data
is
changed. You can listen for the event using the on
method if you
wish to be notified before the attribute's value has changed, or
using the after
method if you wish to be notified after the
attribute's value has changed.
Parameters:
-
e
EventFacadeAn Event Facade object with the following attribute-specific properties added:
id
String
Unique ID of the record instance
Fires event idChange
Fires when the value for the configuration attribute id
is
changed. You can listen for the event using the on
method if you
wish to be notified before the attribute's value has changed, or
using the after
method if you wish to be notified after the
attribute's value has changed.
Parameters:
-
e
EventFacadeAn Event Facade object with the following attribute-specific properties added: