Hallo Alex,
ich glaube, dir ist die Hierarchie einer Tabelle noch nicht ganz klar:
"IrgendeinElement (z.B. ein DIV)"
table
tbody
tr
td
td
...
tr
td
...
...
Beim Einhängen mit appendChild musst du:
td -> tr
tr -> tbody
tbody -> table
table -> "IrgendeinElement (z.B. ein DIV)"
als Beispiel, wie ich das mal vor einiger Zeit gemacht habe, schau dir die Funktion "make_table" in meinem Ritzelrechner an.
Gruß, Jürgen