to add row dynamically in table 
Author Message
 to add row dynamically in table

Hi All,

Using VB Script i want to dynamically create a row (during runtime) in a table whenever i click ADD ROW button.

Thank you
Regards
MMK

-----------------------------
This message is posted by http://www.*-*-*.com/



Mon, 14 Feb 2005 01:21:19 GMT  
 to add row dynamically in table


Quote:
> Hi All,

> Using VB Script i want to dynamically create a row (during runtime) in a

table whenever i click ADD ROW button.

Quote:

> Thank you
> Regards
> MMK

> -----------------------------
> This message is posted by http://asp.forumszone.com

Well..off the top of my head:

<script language="VBScript">
  Sub cmbAddRow_OnClick()
    Dim objRow
    Dim objCell

    Set objRow = Form1.insertRow()
    Set objCell = objRow.insertCell()
    objCell.innerHTML = "<b>I</b>nserted <b>R</bow and <b>C</b>ell"
    Set objRow = Nothing
    Set objCell = Nothing
  End Sub
</script>



Mon, 14 Feb 2005 02:01:39 GMT  
 
 [ 2 post ] 

 Relevant Pages 

1. Add new row to a table dynamically

2. Help adding Table Rows dynamically Please!

3. Dynamically Delete rows in a table???

4. dynamically set cellspacing on individual table rows?

5. Dynamically add Attributes to a row, specifically onclick

6. adding a table row, without setting same defaults as previous row

7. row heights of table rows added by vba

8. Adding and deleting columns dynamically, repeating row headers

9. Problem with dynamically created HTML table rows

10. Add Row to table

11. Adding Rows to existing table in JScript

12. ADD ROWS AND CELLS TO TABLES

 

 
Powered by phpBB® Forum Software