DekGenius.com
Team LiB   Previous Section   Next Section
HTMLTableRowElement.deleteCell( ) delete a cell in a table row

Availability

DOM Level 1 HTML

Synopsis

void deleteCell(long index) 
    throws DOMException;

Arguments

index

The position in the row of the cell to delete.

Throws

This method throws a DOMException with a code of INDEX_SIZE_ERR if index is less than zero or is greater than or equal to the number of cells in the row.

Description

This method deletes the cell at the specified position in the table row.

    Team LiB   Previous Section   Next Section