How to use the plugin date-uk to sort dates in the format dd-mm-yyyy

How to use the plugin date-uk to sort dates in the format dd-mm-yyyy

wiltersonwilterson Posts: 1Questions: 0Answers: 0
edited September 2014 in Free community support

How do I use the plugin-uk date to sort the column of dates in dd-mm-yyyy format .. ??
thank you..

(Como faço para usar o plugin date-uk para ordenar a coluna de datas no formato dd-mm-yyyy..??
obrigado)

Being my table with 10 columns, the column is the date the eighth. I would have to specify the type of each of them in "columnDefs" ??

( Sendo minha tabela com 10 colunas, a coluna da data é a oitava. eu teria que especificar o tipo de cada uma delas em "columnDefs" ??)

Javascript Code:

<

script type="text/javascript">
$(function(){
$('#table-producao').dataTable({
"bJQueryUI": true,
"language": {
"url": "../media/language/dataTables.ptbr.txt"
},
"sPaginationType":"full_numbers",

        "columnDefs": [                
            { "type": 'date-uk', "targets": 0 }        
            ]               
    });
})

Sorry for errors in english.. :D

Thanks!!

This discussion has been closed.