How to Add Custom tag in Datatable
How to Add Custom tag in Datatable

I want to add Custom <th> tag after Datatable get created.
var nCloneTh = document.createElement('th');
$('#table_id thead tr').each(function () {
this.insertBefore(nCloneTh, this.childNodes[0]);
});
Not get Added.Kindly help me ASAP
This discussion has been closed.
Answers
We're happy to take a look, but as per the forum rules, please link to a test case - a test case that replicates the issue will ensure you'll get a quick and accurate response. Information on how to create a test case (if you aren't able to link to the page you are working on) is available here.
Cheers,
Colin