Yahoo! UI Library

DataTable Widget  2.3.0

Yahoo! UI Library > datatable > YAHOO.widget.Record

Show Private Show Protected

Class YAHOO.widget.Record

The Record class defines a DataTable record.

Constructor

YAHOO.widget.Record ( oConfigs )
Parameters:
oConfigs <Object> (optional) Object literal of key/value pairs.

Properties

_nId - private Number

Unique number assigned at instantiation, indicates original order within RecordSet.

_oData - private Object

Holds data for the Record in an object literal.

Methods

getData

void getData ( sKey )
Returns data for the Record for a key if given, or the entire object literal otherwise.
Parameters:
sKey <String> (Optional) The key to retrieve a single data value.
Returns: void
Object

getId

void getId ( )
Returns unique number assigned at instantiation, indicates original order within RecordSet.
Returns: void
Number


Copyright © 2007 Yahoo! Inc. All rights reserved.