Comlex Headers

Comlex Headers

xGs_MancoxGs_Manco Posts: 9Questions: 2Answers: 0
edited September 2012 in DataTables 1.9
Hello all,

Im new using or trying to use datatables, i have a problem when i tried to have a complex header like this:

I need some like this, also will be more complex.




Nombre
Telefono
Direccion


Sapo
Mayor
Menor
Maso


Percanta
Percanta
Percanta
Percanta
Percanta
Percanta
Percanta
Percanta
Percanta

Replies

  • allanallan Posts: 63,498Questions: 1Answers: 10,470 Site admin
    Each column must have its own unique TH element (i.e. no rowspan), so DataTables can uniquely identify each column. I think you don't have a unique column somewhere there.

    Allan
  • xGs_MancoxGs_Manco Posts: 9Questions: 2Answers: 0
    edited September 2012
    thanks it Works :D just changing the text for each tag, like you said.
    Now i have another problem:
    "Unable to get value of the property 'style': "
  • allanallan Posts: 63,498Questions: 1Answers: 10,470 Site admin
    I'm going to need a lot more than that :-). A link to the page would be useful please.

    Allan
  • xGs_MancoxGs_Manco Posts: 9Questions: 2Answers: 0
    Allan thank's. i had a bad structure for my table, that's why it was not working.
    I had my data like this:

    data1
    data2
    data3
    data4
    data5
    data6
    data7
    data8
    data9
    data10


    And if you see my header on my third row you will see the problem.
    Just changing my third row to

    8
    18
    9
    10
    11
    12
    13
    14
    15
    16


    it Works.
    Thanks again.
This discussion has been closed.