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, columnId:sColumnId})
_bInit
- private Boolean
True if instance is initialized, so as to fire the initEvent rather than
renderEvent.
Default Value: true
True if x-scrollbar is currently visible.
_elCaption
- private HTMLElement
DOM reference to the CAPTION element for the DataTable instance.
DOM reference to the container element for the DataTable instance into which
all other elements get created.
DOM reference to the secondary TBODY element used to display DataTable messages.
DOM reference to the secondary TBODY element's single TD element used to display DataTable messages.
DOM reference to the secondary TBODY element's single TR element used to display DataTable messages.
_elTbody
- private HTMLElement
DOM reference to the primary TBODY element for the DataTable instance.
DOM reference to the container element for the DataTable's primary TBODY.
_elThead
- private HTMLElement
DOM reference to the primary THEAD element for the DataTable instance.
DOM reference to the container element for the DataTable's primary THEAD.
_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, columnId:sColumnId}.
_oAnchorRecord
- private YAHOO.widget.Record
Record instance of the row selection anchor.
_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 last highlighted cell element
ID string of last highlighted row element
ID string of the last TR element of the current DataTable page.
Template cell to create all new cells from.
Template row to create all new rows from.
Set to true if _elStylesheet cannot be populated due to browser incompatibility.
Element reference to shared Column drag target.
Element reference to shared Column resizer proxy.
Reference to STYLE node that is dynamically created and written to
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 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 Editor container elements.
Default Value: "yui-dt-editor"
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 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 resizeable elements.
Default Value: "yui-dt-resizeable"
Class name assigned to resizer handle elements.
Default Value: "yui-dt-resizer"
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"
Cell formatting functions.
Message to display if DataTable has no data.
Default Value: "No records found."
Message to display while DataTable has data error.
Default Value: "Data error."
Message to display while DataTable is loading data.
Default Value: "Loading data..."