How change dynamically title of column

How change dynamically title of column

pipo75pipo75 Posts: 14Questions: 7Answers: 0

I would like to change text of a column title after table had benn rendered , do you know if I czan do sometjing like that:

table = $('#example').DataTable({
"data": source_dataTable,
"columnDefs": defs,

"dom": 't<"top"f>rt<"bottom"lpi><"clear">',

});
// WHAT I WANT TO DO:
table.column(0).title.text("new title for the column 0");

do you know if it is possible?

This question has accepted answers - jump to:

Answers

This discussion has been closed.