Col

The Col object is reflective of the functionality of the Html COL element, which is used to set the width and number of columns within a table. It is used to give the browser the information needed to render the table before it has encountered and read any TH, TR, or TD elements and performed the mathematics neccessary to render the table correctly. Note the absense of event handlers for this object.

DOM Reference

Internet Explorer

window.document.all.elementID

The properties of the Col object are:

align
className
document
id
isTextEdit
lang
language
offsetHeight
offsetLeft
offsetParent
offsetTop
offsetWidth
outerHtml
outerText
parentElement
parentTextEdit
sourceIndex
span
style
tagName
title
valign
width

The Methods of the Col object are:

click()
getAttribute()
removeAttribute()
setAttribute()

The Collections and Arrays for the Col object are:

all [ ]
children [ ]