TableElement
Interface
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.
Extends
Element
Constructors
Code
new TableElement() #
Methods
Code
Element createCaption() #
createCaption creates a new caption for the table.
Element createCaption();
createTFoot creates a table footer.
Element createTFoot();
Code
Element createTHead() #
createTHead creates a table header.
Element createTHead();
Code
void deleteCaption() #
deleteCaption removes the table caption.
void deleteCaption();
Code
void deleteRow(int index) #
void deleteRow(int index);
deleteTFoot removes a table footer.
void deleteTFoot();
Code
void deleteTHead() #
deleteTHead removes the table header.
void deleteTHead();
Code
Element insertRow(int index) #
insertRow inserts a new row.
Element insertRow(int index);
Fields
align gets/sets the alignment of the table.
String align;
bgColor gets/sets the background color of the table.
String bgColor;
border gets/sets the table border.
String border;
caption returns the table caption.
TableCaptionElement caption;
Code
String cellPadding #
cellPadding gets/sets the cell padding.
String cellPadding;
Code
String cellSpacing #
cellSpacing gets/sets the spacing around the table.
String cellSpacing;
frame specifies which sides of the table have borders.
String frame;
rows returns the rows in the table.
final HTMLCollection rows;
rules specifies which interior borders are visible.
String rules;
summary gets/sets the table summary.
String summary;
tBodies returns the table bodies.
final HTMLCollection tBodies;
tFoot returns the table footer.
TableSectionElement tFoot;
tHead returns the table head.
TableSectionElement tHead;
width gets/sets the width of the table.
String width;
This page includes content from the
Mozilla Foundation that is graciously
licensed under a
Creative Commons: Attribution-Sharealike license.
Mozilla has no other association with Dart or dartlang.org. We
encourage you to improve the web by
contributing to
The Mozilla Developer Network.