force "desc" sorting on date

force "desc" sorting on date

arlequinarlequin Posts: 2Questions: 0Answers: 0
edited May 2012 in General
Hello,

I want my table to be sorted by desc dates :
[code]"aoColumns": [
{ "sType": "uk_date",
"asSorting": [ "desc" ]
},
null,
null
],[/code]

but it doesnt work, any tips ? (actually, it sorts by date, but not descending)

Many thanks

Replies

  • allanallan Posts: 63,542Questions: 1Answers: 10,476 Site admin
    That's what I was going to suggest ( asSorting )! Can you link to a test page which shows it not working please? Oh - you might need to set aaSorting on initialisation thinking about it...

    Allan
  • arlequinarlequin Posts: 2Questions: 0Answers: 0
    many thanks, I used aaSorting and it's working ! wonderful !
  • allanallan Posts: 63,542Questions: 1Answers: 10,476 Site admin
    Great - no problem at all :-)

    Allan
This discussion has been closed.