Add attributes to cells before they are added to the DOM

Add attributes to cells before they are added to the DOM

reno1979reno1979 Posts: 6Questions: 0Answers: 0
edited June 2015 in Free community support

Is it possible to let datatables generate the cells with custom attributes, before the cells are inserted in the DOM?

I would currently use this for the lang attributes, required bij a jquery translate plugin.

Using the row Callback (adding the attributes to the cells in this row on the event) does not work. I figure that the row was already inserted in the DOM.

This discussion has been closed.