Columnsdef

Columnsdef

rafatriolorafatriolo Posts: 1Questions: 1Answers: 0

Link to test case:
Debugger code (debug.datatables.net):
Error messages shown:
Description of problem:

Hi there,

I´ve called datatables using this method

var table = $('.table').DataTable({
columnDefs: [ {
targets: [3,4],
render: $.fn.dataTable.render.moment( 'DD/MM/YYYY', 'DD/MM/YYYY', 'pt-Br' )
} ]
});

The problem is the I have multiple tables and I want to be able to perform column modifications like this

table.columns([3,4]).data(render: $.fn.dataTable.render.moment( 'DD/MM/YYYY', 'DD/MM/YYYY', 'pt-Br' ))

Could you guys can help me!

Tks

Answers

This discussion has been closed.