Adding Rows to existing table in JScript 
Author Message
 Adding Rows to existing table in JScript

Is there any fastest way to add rows to existing table in JScript during
onLoad event? Table's rows are quite irregular.

Right now I append a row with insertRows method, after that I append cells
with InsertCell method, and I copy all attributes from an existing row and
corresponding cells. This method is slow.

I can not copy innnerHTML property because a page is being loaded.

Please advise.



Tue, 05 Nov 2002 03:00:00 GMT  
 Adding Rows to existing table in JScript
If you are still during page load can't you just document.write the
table rows??
Otherwise the insertRow/insertCell methods are the way to go

Quote:

> Is there any fastest way to add rows to existing table in JScript during
> onLoad event? Table's rows are quite irregular.

> Right now I append a row with insertRows method, after that I append cells
> with InsertCell method, and I copy all attributes from an existing row and
> corresponding cells. This method is slow.

> I can not copy innnerHTML property because a page is being loaded.

> Please advise.

--

        Martin Honnen
        http://javascript.faqts.com/
        http://home.t-online.de/home/martin.honnen/jsgoddies.html



Tue, 05 Nov 2002 03:00:00 GMT  
 
 [ 2 post ] 

 Relevant Pages 

1. Add Row to table

2. ADD ROWS AND CELLS TO TABLES

3. to add row dynamically in table

4. adding rows to table via button

5. Add new row to a table dynamically

6. Adding rows to a table

7. Adding rows to table.

8. Dynamic adding/removing rows fro ma table

9. Setting table/col/row properties with JScript???

10. table row text will not show after row insert

11. jscript help sought for adding writing or table cells

12. Add and remove existing users to-from existing groups

 

 
Powered by phpBB® Forum Software