Change datatables text on the fly?

Change datatables text on the fly?

utkantutkant Posts: 8Questions: 4Answers: 0

Using version 1.10.

How would one go about to change a column title on the fly through code?
How would one go about to change any of the language settings on the fly through code?

What I have tried:

Setting the sSearch variable to a new text and did a table redraw through the draw method, no success.

Other information:

I have managed to through DOM manipulation change the column titles, but it is not a clean solution(more of a hack). To have to make the same hack for all text strings used in the table config seems really unneccessary. It should have been easier to change the language on the fly for all text information.

This discussion has been closed.