Skip to content
Find file
Fetching contributors…
Cannot retrieve contributors at this time
126 lines (109 sloc) 2.8 KB

td - DOM interface API

The td element

Current

interface HTMLTableCellElement : HTMLElement {
    attribute unsigned long colSpan;
    attribute unsigned long rowSpan;
    [PutForwards=value] readonly attribute DOMSettableTokenList headers;
    readonly attribute long cellIndex;
};

interface HTMLTableDataCellElement : HTMLTableCellElement {};

Table Usability

interface HTMLTableCellElement : HTMLElement {
    readonly attribute HTMLCollection cols;
    readonly attribute HTMLCollection rows;
    readonly attribute long rowIndex;
    readonly attribute long colIndex;
    attribute long height;
    attribute long width;
    readonly attribute DOMString scope;
    readonly attribute DOMString context; 
};

For an descriptive and key Cell

interface HTMLTableDescCellElement : HTMLTableCellElement {
    attribute HTMLElement describe;
}

Table Parser - WET 3.0 release

Data cell and summary cell

jQuery.data tblparser  {
    col {
        // Reference to the structure attached to the associated col element 
    }
    long collevel;
    long colpos;
    jQuery elem;
    groupZero {
        // Reference to the structure attached to the table element
    }
    long height;
    object parent;
    row {
        // Reference to the structure attached to the associated tr element 
    }
    rowgroup {
        // Reference to the structure attached to the associated tbody, tfoot element 
    }
    long rowlevel;
    array rowlevelheader;
    long rowpos;
    long type;
    long uid;
    long width;
}

Key cell and Description cell

jQuery.data tblparser  {
    col {
        // Reference to the structure attached to the associated col element 
    }
    long colpos;
    describe {
        // Reference to the structure attached to the associated td element 
    }
    jQuery elem;
    groupZero {
        // Reference to the structure attached to the table element
    }
    long height;
    object parent;
    row {
        // Reference to the structure attached to the associated tr element 
    }
    rowgroup {
        // Reference to the structure attached to the associated tbody, tfoot element 
    }
    long rowlevel;
    array rowlevelheader;
    long rowpos;
    long type;
    long uid;
    long width;
}

Layout data cell

jQuery.data tblparser  {
    col {
        // Reference to the structure attached to the associated col element 
    }
    long collevel;
    long colpos;
    jQuery elem;
    groupZero {
        // Reference to the structure attached to the table element
    }
    long height;
    object parent;
    row {
        // Reference to the structure attached to the associated tr element 
    }
    rowgroup {
        // Reference to the structure attached to the associated tbody, tfoot element 
    }
    long rowlevel;
    array rowlevelheader;
    long rowpos;
    long type;
    long uid;
    long width;
}

HTML5 specification refer to the Editor's Draft dated of September 21 2012, $Revision 1.1998 $

Something went wrong with that request. Please try again.