haXe API Documentation
Back | Index
extern class js.html.TableElement
extends Element
Available in js
table objects expose the HTMLTableElement interface, which provides special properties and methods (beyond the regular element object interface they also have available to them by inheritance) for manipulating the layout and presentation of tables in HTML.

Documentation for this class was provided by MDN.
var align : String
align gets/sets the alignment of the table.
var bgColor : String
bgColor gets/sets the background color of the table.
var border : String
border gets/sets the table border.
var caption : TableCaptionElement
caption returns the table caption. Setter throws DOMException.
var cellPadding : String
cellPadding gets/sets the cell padding.
var cellSpacing : String
cellSpacing gets/sets the spacing around the table.
var frame : String
frame specifies which sides of the table have borders.
var rows(default,null) : HTMLCollection
rows returns the rows in the table.
var rules : String
rules specifies which interior borders are visible.
var summary : String
summary gets/sets the table summary.
var tBodies(default,null) : HTMLCollection
tBodies returns the table bodies.
var tFoot : TableSectionElement
tFoot returns the table footer. Setter throws DOMException.
var tHead : TableSectionElement
tHead returns the table head. Setter throws DOMException.
var width : String
width gets/sets the width of the table.
function createCaption() : Element
function createTBody() : Element
function createTFoot() : Element
function createTHead() : Element
function deleteCaption() : Void
function deleteRow(index : Int) : Void
function deleteTFoot() : Void
function deleteTHead() : Void
function insertRow(index : Int) : Element
Back | Index