GO-Ve01
ServicesDevelopersBooksDictionaryPapersWikidataEncyclopediaSearchBabelCareersDeck

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 HTMLTableSectionElement: insertRow() method.

Developer library 5

HTMLTableSectionElement

HTML DOM The **`HTMLTableSectionElement`** 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 sections, that is headers, footers and bodies (thead, tfoot, and tbody, respectively) in an HTML table. ## Instance properties _Inherits properties from its parent, HTMLElement._ - HTMLTableSecti

HTMLTableSectionElement: insertRow() method

HTML DOM The **`insertRow()`** method of the HTMLTableSectionElement interface creates a tr element, inserts it at the specified position in the given table sectioning element (thead, tfoot, or tbody), 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(). ## Syntax ```js-nolin

HTMLTableSectionElement: deleteRow() method

HTML DOM The **`deleteRow()`** method of the HTMLTableSectionElement interface removes a specific row (tr) from the given table sectioning element (thead, tfoot, or tbody). ## Syntax ```js-nolint deleteRow(index) ``` ### Parameters - `index` - : The index of the row to remove in the rows collection. If `index` is `-1`, the last row is removed. ### Return value None (undefined). ### Exceptions - `IndexSizeE

HTMLTableElement

to be inserted as the first child. If the assigned value is not an HTMLTableCaptionElement or `null`, a TypeError is thrown. - HTMLTableElement.tHead - : An HTMLTableSectionElement representing the first thead element child of the given table, or `null` if no such element exists. This property can be assigned, which causes the existing first `<thead>` element child, if any, to be removed, and the given value, if i

MDN Web Docs mirror · CC BY-SA 2.5 (MDN) · https://developer.mozilla.org/en-US/docs/Web/API/HTMLTableElement

HTMLTableElement: insertRow() method

parate calls to methods such as Document.createElement(), Node.insertBefore(), and Node.appendChild(). To explicitly insert a row into a specific section, use HTMLTableSectionElement.insertRow(). ## Syntax ```js-nolint insertRow() insertRow(index) ``` ### Parameters - `index` - : The index of the new row in the rows collection. If `index` is `-1` or equal to the number of rows, the row is appended as the last

JSON results · Services directory