Add an extra header in a datatable

I am trying to create an extra header following this thread.

They create it in the HTML

 <thead>
      <tr>
        <th>Name</th>
        <th>Position</th>
        <th>Office</th>
        <th>Age</th>
        <th>Start date</th>
        <th>Salary</th>
      </tr>
      <tr>
        <th>Name</th>
        <th></th>
        <th>Office</th>
        <th>Age</th>
        <th>Start date</th>
        <th>Salary</th>
      </tr>
    </thead>

Any ideas how I replicate this in the IDE?

Cheers

Steve Warby

You’ll probably need to do this using an API function.

I got the solution from the datatables forums thanks.

All looking lovely now.

The app is starting to look great!