Columnsdef
Columnsdef
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
What are you trying to modify? Is it the date format, the data, etc. Can you post a link to your page or a test case replicating the issue?
https://datatables.net/manual/tech-notes/10#How-to-provide-a-test-case
Kevin