Performance Tip 5 - Use the DOM to Expand Tables

It is more efficient to insert table rows and cells using DOM methods than to use the insertRow and insertCell methods that are part of the DHTML table object model.

Click the buttons to see the difference in performance.

Slow -  

Fast -  

© 2007 Microsoft Corporation. All rights reserved. Terms of use.