Name

TableCell — a cell in an HTML table

Inherits from

Node, Element

Synopsis

A TableCell object represents a <td> or <th> element.

Properties

readonly long cellIndex

The position of this cell within its row.

unsigned long colSpan

The value of the HTML colspan attribute, as a number.

unsigned long rowSpan

The value of the HTML rowspan attribute, as a number.

Get JavaScript: The Definitive Guide, 6th Edition now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.