deleteCell Method
Deletes the specified cell (TD) in the table row, and removes the cell from the cells collection.
Syntax
TR.deleteCell([iIndex])
Parameters
iIndex Optional. Integer that specifies the cell to be deleted from the table row. If no value is provided, the last cell in the cells collection is deleted.
Return Value
No return value.
Example
This example uses the deleteCell method to delete the last cell in the first row of the table.
document.all.myTable.rows[0].deleteCell()
Applies To
[ Object Name ] Platform Version Win16: Win32: Mac: Unix: WinCE: Version data is listed when the mouse hovers over a link, or the link has focus.
See Also
Did you find this topic useful? Suggestions for other topics? write us!
© 1999 microsoft corporation. all rights reserved. terms of use.