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 the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.