troubleshooting Question

Can I dynamically add cells and rows to an HTML table?

Avatar of purplesoup
purplesoupFlag for United Kingdom of Great Britain and Northern Ireland asked on
2 Comments1 Solution493 ViewsLast Modified:
IE 6

From using I am used to creating a table cell and adding it to a table row, then adding that table row to an HTML table.

Looking at the IE object model I can see there exist table row and cell objects, but they don't appear to have "add" methods.

For example, if I am referencing an HTML table object and I access the rows collection, I have the following available:


These are all from IHTMLElementCollection

Does anyone know if I can add items to these collections and if so how?

By the way I am looking at the object model in

Library MSHTML
    Microsoft HTML Object Library

Join the community to see this answer!
Join our exclusive community to see this answer & millions of others.
Unlock 1 Answer and 2 Comments.
Join the Community
Learn from the best

Network and collaborate with thousands of CTOs, CISOs, and IT Pros rooting for you and your success.

Andrew Hancock - VMware vExpert
See if this solution works for you by signing up for a 7 day free trial.
Unlock 1 Answer and 2 Comments.
Try for 7 days

”The time we save is the biggest benefit of E-E to our team. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange.

-Mike Kapnisakis, Warner Bros