interface HTMLTableElement
implements HTMLElement
import { type HTMLTableElement } from "https://deno.land/x/windmill@v1.355.2/node_modules/evt/lib/types/lib.dom.d.ts";
Provides special properties and methods (beyond the regular HTMLElement object interface it also has available to it by inheritance) for manipulating the layout and presentation of tables in an HTML document.
Properties
readonly
rows: HTMLCollectionOf<HTMLTableRowElement>Sets or retrieves the number of horizontal rows contained in the object.
readonly
tBodies: HTMLCollectionOf<HTMLTableSectionElement>Retrieves a collection of all tBody objects in the table. Objects in this collection are in source order.
Methods
createTHead(): HTMLTableSectionElement
Returns the tHead element object if successful, or null otherwise.
insertRow(index?: number): HTMLTableRowElement
Creates a new row (tr) in the table, and adds the row to the rows collection.
addEventListener<K extends keyof HTMLElementEventMap>(): void
type: K,
listener: (this: HTMLTableElement, ev: HTMLElementEventMap[K]) => any,
options?: boolean | AddEventListenerOptions,
addEventListener(): void
type: string,
listener: EventListenerOrEventListenerObject,
options?: boolean | AddEventListenerOptions,
removeEventListener<K extends keyof HTMLElementEventMap>(): void
type: K,
listener: (this: HTMLTableElement, ev: HTMLElementEventMap[K]) => any,
options?: boolean | EventListenerOptions,