Add an extra header in a datatable


#1

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


#2

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


#3

I got the solution from the datatables forums thanks.

All looking lovely now.

www.surplusanywhere.com


#4

The app is starting to look great!