Starting HTML

Starting HTML

peterkronenbergpeterkronenberg Posts: 112Questions: 0Answers: 0
edited November 2010 in General
Allan,
What is the required HTML if I am letting Datatables create the thead and tbody? I'm getting inconsistent results, especially when destroying and rebuilding the table with the different number of columns. I'm getting duplicate thead and tbody sections.
I would think I would be able to just specify
and be done with it, but I'm not sure

Replies

  • allanallan Posts: 63,498Questions: 1Answers: 10,471 Site admin
    If DataTables is creating the tbody and thead (which it will do is needed), and you are supplying aoColumns for the columns, then should be just fine. If it's not then there is something wrong somewhere... It is the second initialisation or something that is causing the issue? Can you give us a link?

    Allan
This discussion has been closed.