columns.orderData dont work with integer column index

columns.orderData dont work with integer column index

lokomolokomo Posts: 8Questions: 0Answers: 0
edited March 2014 in DataTables 1.10
May be only a small issue but i was struggling a bit by setting:
[code]
"columnDefs": [{
"targets": 1,
"orderData": 0
}]
[/code]
colum 1 is not sortable. By using arrays it works. I set up an example here: http://jsfiddle.net/pDLDV/

Replies

  • allanallan Posts: 61,446Questions: 1Answers: 10,054 Site admin
    Nice one - thanks for flagging that up. I'll fix it when I get into the office on Monday.

    Allan
This discussion has been closed.