Sparse array of custom functions to set column widths for browsers that don't
support dynamic CSS rules. Functions are added at the index representing
the number of rows they update.
Array to track row selections (by sRecordId) and/or cell selections
(by {recordId:sRecordId, columnKey:sColumnKey})
_bInit
- private Boolean
True if instance is initialized, so as to fire the initEvent after render.
Default Value: true
_elCaption
- private HTMLElement
DOM reference to the CAPTION element for the DataTable instance.
DOM reference to the COLGROUP element for the DataTable instance.
Element reference to shared Column drag target.
Element reference to shared Column resizer proxy.
DOM reference to the container element for the DataTable instance into which
all other elements get created.
_elMask
- private HTMLElement
DOM reference to the mask element for the DataTable instance which disables it.
DOM reference to the secondary TBODY element used to display DataTable messages.
_elMsgTd
- private HTMLElement
DOM reference to the secondary TBODY element's single TD element used to display DataTable messages.
_elMsgTr
- private HTMLElement
DOM reference to the secondary TBODY element's single TR element used to display DataTable messages.
_elTable
- private HTMLElement
DOM reference to the TABLE element for the DataTable instance.
_elTbody
- private HTMLElement
DOM reference to the primary TBODY element for the DataTable instance.
_elThead
- private HTMLElement
DOM reference to the THEAD element for the DataTable instance.
Template row to create all new rows from.
_nIndex
- private Number
Index assigned to instance.
Counter for IDs assigned to TD elements.
Counter for IDs assigned to TR elements.
Object literal representing cell selection anchor:
{recordId:sRecordId, columnKey:sColumnKey}.
_oAnchorRecord
- private YAHOO.widget.Record
Record instance of the row selection anchor.
_oCellEditor
- private YAHOO.widget.CellEditor
The active CellEditor instance for the DataTable instance.
_oColumnSet
- private YAHOO.widget.ColumnSet
ColumnSet instance for the DataTable instance.
_oDataSource
- private YAHOO.util.DataSource
DataSource instance for the DataTable instance.
_oRecordSet
- private YAHOO.widget.RecordSet
RecordSet instance for the DataTable instance.
ID string of first TR element of the current DataTable page.
_sId
- private String
Unique id assigned to instance "yui-dtN", useful prefix for generating unique
DOM ID strings and log messages.
ID string of the last TR element of the current DataTable page.
Returns object literal of initial configs.
Default Value: {}
Set to true if _elDynStyleNode cannot be populated due to browser incompatibility.
Reference to the STYLE node that is dynamically created and updated
in order to manage Column widths.
Internal class variable for indexing multiple DataTable instances.
Internal class variable tracking current number of DataTable instances,
so that certain class values can be reset when all instances are destroyed.
Object literal hash of Columns and their dynamically create style rules.
Class name assigned to ascending elements.
Default Value: "yui-dt-asc"
Class name assigned to BUTTON elements and/or container elements.
Default Value: "yui-dt-button"
Class name assigned to INPUT TYPE=CHECKBOX elements and/or container elements.
Default Value: "yui-dt-checkbox"
Class name assigned to Column drag target.
Default Value: "yui-dt-coltarget"
Class name assigned to data elements.
Default Value: "yui-dt-data"
Class name assigned to outer DataTable container.
Default Value: "yui-dt"
Class name assigned to default indicators.
Default Value: "yui-dt-default"
Class name assigned to descending elements.
Default Value: "yui-dt-desc"
Class name assigned to disabled elements.
Default Value: "yui-dt-disabled"
Class name assigned to draggable elements.
Default Value: "yui-dt-draggable"
Class name assigned to SELECT elements and/or container elements.
Default Value: "yui-dt-dropdown"
Class name assigned to editable elements.
Default Value: "yui-dt-editable"
Class name assigned to CellEditor container elements.
Default Value: "yui-dt-editor"
Class name assigned to CellEditor container shim.
Default Value: "yui-dt-editor-shim"
Class name assigned to empty indicators.
Default Value: "yui-dt-empty"
Class name assigned to error indicators.
Default Value: "yui-dt-error"
Class name assigned to even elements.
Default Value: "yui-dt-even"
Class name assigned to first elements.
Default Value: "yui-dt-first"
Class name assigned to hidden elements.
Default Value: "yui-dt-hidden"
Class name assigned to highlighted elements.
Default Value: "yui-dt-highlighted"
Class name assigned to display label elements.
Default Value: "yui-dt-label"
Class name assigned to last elements.
Default Value: "yui-dt-last"
Class name assigned to liner DIV elements.
Default Value: "yui-dt-liner"
Class name assigned to loading indicatorx.
Default Value: "yui-dt-loading"
Class name assigned to mask element when DataTable is disabled.
Default Value: "yui-dt-mask"
Class name assigned to messaging elements.
Default Value: "yui-dt-message"
Class name assigned next indicators.
Default Value: "yui-dt-next"
Class name assigned to odd elements.
Default Value: "yui-dt-odd"
Class name assigned to page number indicators.
Default Value: "yui-dt-page"
Class name assigned to paginator container elements.
Default Value: "yui-dt-paginator"
Class name assigned to previous indicators.
Default Value: "yui-dt-previous"
Class name assigned to INPUT TYPE=RADIO elements and/or container elements.
Default Value: "yui-dt-radio"
Class name assigned to Record elements.
Default Value: "yui-dt-rec"
Class name assigned to resizeable elements.
Default Value: "yui-dt-resizeable"
Class name assigned to resizer handle elements.
Default Value: "yui-dt-resizer"
Class name assigned to resizer liner elements.
Default Value: "yui-dt-resizerliner"
Class name assigned to resizer proxy elements.
Default Value: "yui-dt-resizerproxy"
Class name assigned to scrollable elements.
Default Value: "yui-dt-scrollable"
Class name assigned to selected elements.
Default Value: "yui-dt-selected"
Class name assigned to sortable elements.
Default Value: "yui-dt-sortable"
Registry of cell formatting functions, enables shortcut pointers in Column
definition formatter value (i.e., {key:"myColumn", formatter:"date"}).