Complex headers when creating dataTable from array

Complex headers when creating dataTable from array

sansbsansb Posts: 3Questions: 0Answers: 0
edited November 2011 in General
Is this possible?

Replies

  • allanallan Posts: 63,535Questions: 1Answers: 10,475 Site admin
    No - sorry. There is no method in DataTables to construct complex headers itself. What you would need to do is put the complex header in using standard DOM/ jQuery methods and then construct the table.

    It might be possible to use some of the DataTables code to make DataTables construct a complex header since the basic layout information is available, but I think it would probably be a fair bit of work to do.

    Allan
  • sansbsansb Posts: 3Questions: 0Answers: 0
    Fair enough. I assumed this was the case and rewrote my stuff to generate the table as HTML instead of an array. Working perfectly. Thanks a ton.
This discussion has been closed.