I have a datatable that I am using for data population. I want to add CSS styling to the headers, specifically using Title for the header tooltip. Is it possible to use CSS along with it?
#mainTable title {
font-weight: bold;
font-size: 30px;
color: red;
}
I am looking to apply CSS to the table header inside th element.
var createTable = '<table id="mainTable" class="display"><thead><tr><th title="Starting date of the period in which the activity occurred.">Period Starting</th><th title=Intelligence(Milestone)>Intelligence</th><th title=Engaged(Milestone)>Engaged</th><th>Qualification</th><th>Internal Submission</th><th>Present</th><th>Interviewed</th><th>Support</th><th>Placement</th></tr></thead><tbody>';
Is there any way to achieve this?