Object: HTMLTableColElement
The HTMLTableColElement object represents the <col> and <colgroup> elements in an HTML document.
The <col> element defines the attributes for one or more columns in a table. The <colgroup> element defines groups of table columns. These elements are not supported by the BlackBerry® Browser.
HTMLTableColElement is supported in the BlackBerry Browser’s JavaScript® implementation to conform with HTML DOM Level 2 specification. However, <col> and <colgroup> elements will not be visually displayed in the browser and will not have any impact on the document layout.
HTMLTableColElement properties
|
Property name |
Type |
Description |
Status |
Support level |
Availability |
|---|---|---|---|---|---|
|
DOMString |
Specifies the horizontal alignment of the cell data. |
writable |
DOM 2 HTML |
4.6 or later |
|
|
DOMString |
Specifies the alignment character for cells in a column. |
writable |
DOM 2 HTML |
4.6 or later |
|
|
DOMString |
Specifies the distance between the alignment character and the first adjacent character. |
writable |
DOM 2 HTML |
4.6 or later |
|
|
int |
Specifies the number of columns included in a column group. |
writable |
DOM 2 HTML |
4.6 or later |
|
|
DOMString |
Specifies the vertical alignment of the content within the table cell. |
writable |
DOM 2 HTML |
4.6 or later |
|
|
DOMString |
Specifies the width of the table cell. |
writable |
DOM 2 HTML |
4.6 or later |