Unable to add a row to a HTML table dynamically
Posted
by madhu
on Stack Overflow
See other posts from Stack Overflow
or by madhu
Published on 2010-05-06T06:22:20Z
Indexed on
2010/05/06
6:48 UTC
Read the original article
Hit count: 339
I am unable to add a row to a HTML table dynamically. I am using IHtmlDocument2
to create tr
and td
elements and IHtmlElement
to set attributes and IHtmlDomNode
to add created node to the document hierarchy.
Please anyone help me to solve the above problem.
I am traversing through the document when I get the tr
tag I have created the tr
element using CreateElement
, then I use InsertBefore
to insert it into the document but it's not working.
I've tried for one week but didn't get anything working.
© Stack Overflow or respective owner