DataTables - not sorting correctly

DataTables - not sorting correctly

raspberryraspberry Posts: 6Questions: 2Answers: 0

Hi,
Here is my DataTables http://debug.datatables.net/ubuzuz
but it seems that is not sorting correctly, because in the 1rst page I have this value "ALFA BETA Vassilopoulos S.A." , and in the 3rd "Systeme U " and "A&B Laboratorios de Biotecnología", "AB7 INDUSTRIES"

Answers

  • allanallan Posts: 63,818Questions: 1Answers: 10,517 Site admin

    The debugger (thanks for the trace) appears to show the table being correctly sorted. The "Producer" column is the one being sorted, and it is being so alphabetically.

    I think I'm missing something?

    Allan

  • nullpointernullpointer Posts: 23Questions: 12Answers: 2

    Its. OK, including in the TD elements as <a href is waht cause this behaviour.
    Regards,

  • allanallan Posts: 63,818Questions: 1Answers: 10,517 Site admin

    I'm not sure if you are saying that the question has been answered? DataTables should ignore any HTML when sorted automatically. If that isn't the case for you, I would need a test case showing the issue.

    Allan

This discussion has been closed.