How do I add a button to a th-element based on a condition

How do I add a button to a th-element based on a condition

daignterdaignter Posts: 1Questions: 1Answers: 0

I am fairly new to datatables and sofar working my self through documentation.Here is what I am stuck with:

I want to add a button to a th-element based on the condition if it has a class. The table should still be sortable and responsive.

would be thankful for any help.

This discussion has been closed.