Internet Technologies:hrf

HTMLTableElement() Professional

Super class

HTMLElement()

Class function

HTMLTableElement() 

Reflected HTML tag

<table>  </table> 

Instantiation

:new( [<oParent>]        , ; 
[<cHTMLTag>]       , ; 
[<cHTMLAttributes>], ; 
[<cHTMLContent>]     ) --> oHTMLTableElement 

Instance variables reflecting tag attributes

:align           | Character               
:bgColor         | Character               
:border          | Character               
:caption         | oHTMLTableCaptionElement 
:cellPadding     | Character               
:cellSpacing     | Character               
:frame           | Character               
:rows            | Array                      READONLY 
:rules           | Character               
:summary         | Character               
:tBodies         | Array                      READONLY 
:tFoot           | oHTMLTableSectionElement 
:tHead           | oHTMLTableSectionElement 
:width           | Character               

Methods

:createCaption() --> oHTMLTableCaptionElement 

If :caption contains NIL, a new HTMLTableCaptionElement is created and assigned to this instance variable.

:createTFoot() --> oHTMLTableSectionElement 

If :tFoot contains NIL, a new HTMLTableCaptionElement is created and assigned to this instance variable.

:createTHead() --> oHTMLTableSectionElement 

If :tHead contains NIL, a new HTMLTableCaptionElement is created and assigned to this instance variable.

:deleteCaption() --> oHTMLTableSectionElement | NIL 

Deletes the object assigned to :caption from the :rows array and assigns NIL to this instance variable. The removed object is returned.

:deleteRow( <nRowPos> ) --> oHTMLTableRowElement | NIL 

Removes the object stored at the position <nRowPos> in the :rowsarray. The removed object is returned.

:deleteTFoot() --> oHTMLTableSectionElement | NIL 

Deletes the object assigned to :tFoot from the :rows array and assigns NIL to this instance variable. The removed object is returned.

:deleteTHead() --> oHTMLTableSectionElement | NIL 

Deletes the object assigned to :tHead from the :rows array and assigns NIL to this instance variable. The removed object is returned.

:insertRow( [<nRowPos>]        , ; 
[<cHTMLAttributes>], ; 
[<cHTMLContent>]     ) --> oHTMLTableRowElement 

Inserts a HTMLTableRowElement object in the :rows array and returns the new object. If no insert position <nRowPos> is specified, the object is added to the end of :rows.

Feedback

If you see anything in the documentation that is not correct, does not match your experience with the particular feature or requires further clarification, please use this form to report a documentation issue.