Having 2 values per column
Having 2 values per column

I'm currently using the jquery plug in Datatables, to create a top 3 table per the car industry.
My first row, I have a title Car Sales Under that row I'd like to have 3 more columns that says: Highest Revenue, Second Highest Revenue, Third Highest Revenue under each of this sections I am attempting to add two values per one column. For example, in my Highest Revenue column; I would like it to have the title, and amount under the one column like Walk ins 2002.
I am unable to create this in Datatables as it creates a new column for every entry. Is there a way to link the two and have 2 sets of values under one column?
Here is an example of my expected outcome:
Here is a link to my jsfiddle
Answers
You can use
columns.render
for this. For example:https://jsfiddle.net/ovc2zmg1/
Kevin