Share via


FPHTMLTableSection Object

FPHTMLTableSection
Multiple objects

Represents the THEAD, TFOOT, and TBODY elements inside of a TABLE element in an HTML document. See also the IHTMLTableSection object.

Using the FPHTMLTableSection object

Use the tHead property of the FPHTMLTable object to return an FPHTMLTableSection object that represents the THEAD element for a table. The following example accesses the THEAD element for the first table in the active document.

Dim objTable As FPHTMLTable
Dim objTHead As FPHTMLTableSection

Set objTable = ActiveDocument.all.tags("table").Item(0)
Set objTHead = objTable.tHead

Use the createTHead method of the FPHTMLTable object to add a THEAD element. Use the deleteTHead method of the FPHTMLTable object to remove a THEAD element.

Use the tFoot property of the FPHTMLTable object to return an FPHTMLTableSection object that represents the TFOOT element for a table. The following example accesses the TFOOT element for the first table in the active document.

Dim objTable As FPHTMLTable
Dim objTFoot As FPHTMLTableSection

Set objTable = ActiveDocument.all.tags("table").Item(0)
Set objTFoot = objTable.tFoot

Use the createTFoot method of the FPHTMLTable object to add a TFOOT element. Use the deleteTFoot method of the FPHTMLTable object to remove a TFOOT element.

Properties | Align Property | all Property | bgColor Property | children Property | className Property | Document Property | filters Property | id Property | innerHTML Property | innerText Property | isTextEdit Property | lang Property | language Property | offsetHeight Property | offsetLeft Property | offsetParent Property | offsetTop Property | offsetWidth Property | onafterupdate Property | onbeforeupdate Property | onclick Property | ondataavailable Property | ondatasetchanged Property | ondatasetcomplete Property | ondblclick Property | ondragstart Property | onerrorupdate Property | onfilterchange Property | onhelp Property | onkeydown Property | onkeypress Property | onkeyup Property | onmousedown Property | onmousemove Property | onmouseout Property | onmouseover Property | onmouseup Property | onrowenter Property | onrowexit Property | onselectstart Property | outerHTML Property | outerText Property | parentElement Property | parentTextEdit Property | recordNumber Property | rows Property | sourceIndex Property | style Property | tagName Property | title Property | vAlign Property

Methods | click Method | contains Method | deleteRow Method | getAttribute Method | insertAdjacentHTML Method | insertAdjacentText Method | insertRow Method | removeAttribute Method | scrollIntoView Method | setAttribute Method | toString Method

Events | onafterupdate Event | onbeforeupdate Property | onclick Event | ondataavailable Event | ondatasetchanged Event | ondatasetcomplete Event | ondblclick Event | ondragstart Event | onerrorupdate Event | onfilterchange Event | onhelp Event | onkeydown Property | onkeypress Event | onkeyup Event | onmousedown Event | onmousemove Event | onmouseout Event | onmouseover Event | onmouseup Event | onrowenter Event | onrowexit Event | onselectstart Event

Parent Objects

Child Objects | IHTMLElement Object | IHTMLElementCollection Object | IHTMLFiltersCollection Object | IHTMLStyle Object