faqts : Computers : Programming : Languages : JavaScript : Tables

+ Search
Add Entry AlertManage Folder Edit Entry Add page to http://del.icio.us/
Did You Find This Entry Useful?

16 of 68 people (24%) answered Yes
Recently 1 of 10 people (10%) answered Yes

Entry

How to generate and manipulate table dynamically based on DOM(Document Object Model)?

Mar 5th, 2000 15:59
Hiroto Sekine, http://www.all.co.nz/mu2iaf/colortable.htm


The Table Object Model doesn't provide a method for creating TBODY 
section. It must be provided by author at the beginning. However, you 
can use the DOM to create them. If you use the DOM, you need to provide 
a table placeholder only. Just visit the following active sample page. 
The sample page supports how to sort, filter the DOM based table using 
JavaScript as well.
http://www.all.co.nz/mu2iaf/colortable.htm