Section 25.275. TableSection: a header, footer, or body section of a table


25.275. TableSection: a header, footer, or body section of a table

DOM Level 2 HTML: Node Element HTMLElement TableSection

25.275.1. Properties


readonly HTMLCollection rows

An array (HTMLCollection) of TableRow objects representing the rows in this section of the table.

In addition to the rows property, this interface defines the following properties, which represent the attributes of the underlying HTML element:

Property

Attribute

Description

String align

align

Default horizontal alignment of cells in this section of the table

String ch

char

Default alignment character for cells in this section

String chOff

choff

Default alignment offset for cells in this section

String vAlign

valign

Default vertical alignment for cells in this section


25.275.2. Methods


deleteRow( )

Deletes the specified numbered row from this section.


insertRow( )

Inserts an empty row into this section at the specified position.

25.275.3. Description

This interface represents a <tbody>, <thead>, or <tfoot> section of an HTML table. The tHead and tFoot properties of a Table are TableSection objects, and the tBodies property is an array of TableSection objects.




JavaScript. The Definitive Guide
JavaScript: The Definitive Guide
ISBN: 0596101996
EAN: 2147483647
Year: 2004
Pages: 767

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net