Search e01
One query across the encyclopedia, books, dictionary, papers, Wikidata and the developer library. Every hit carries its source.
5 results across 6 corpora for HTMLTableRowElement: deleteCell() method.
Developer library 5
HTMLTableRowElement
HTML DOM The **`HTMLTableRowElement`** interface provides special properties and methods (beyond the HTMLElement interface it also has available to it by inheritance) for manipulating the layout and presentation of rows in an HTML table. ## Instance properties _Inherits properties from its parent, HTMLElement._ - HTMLTableRowElement.cells - : Returns a live HTMLCollection containing the cells in the row. The
HTMLTableRowElement: deleteCell() method
HTML DOM The **`deleteCell()`** method of the HTMLTableRowElement interface removes a specific row cell from a given tr. ## Syntax ```js-nolint deleteCell(index) ``` ### Parameters - `index` - : The index of the cell to remove in the cells collection. If `index` is `-1`, the last cell of the row is removed. ### Return value None (undefined). ### Exceptions - `IndexSizeError` DOMException - : Thrown if `i
HTMLTableRowElement: insertCell() method
HTML DOM The **`insertCell()`** method of the HTMLTableRowElement interface creates a td element, inserts it at the specified position in the given tr element, and returns it. This method creates and inserts the element directly, without requiring separate calls to methods such as Document.createElement(), Node.insertBefore(), and Node.appendChild(). However, you cannot use `insertCell()` to create a new `<th>` ele
HTMLTableSectionElement: deleteRow() method
ion.deleteRow(-1); // Update the row counter updateRowNumber(); }); ``` ### Result 100% ## Specifications ## Browser compatibility ## See also - HTMLTableRowElement.deleteCell() - HTMLTableElement.deleteRow() - HTMLTableSectionElement.insertRow()
HTMLTableElement: deleteRow() method
nt.querySelector("table"); // Delete second row table.deleteRow(1); ``` ### Result Examples ## Specifications ## Browser compatibility ## See also - HTMLTableRowElement.deleteCell() - HTMLTableSectionElement.deleteRow()