The ColumnGroup object represents an HTML <colgroup> element.
You can access a <colgroup> element by using getElementById():
var x = document.createElement("COLGROUP");
Property | 説明 |
---|---|
span | Sets or returns the value of the span attribute of a column group |
The ColumnGroup object also supports the standard properties and events.
HTML tutorial: HTML tables
HTML reference: HTML <colgroup> tag
JavaScript reference: HTML DOM Column Object