How to fix the top row in DataTables and colour coordinate while using in JSON

How to fix the top row in DataTables and colour coordinate while using in JSON

sharlene108sharlene108 Posts: 1Questions: 0Answers: 0
edited December 2013 in General
I am generating some data using the following datatable code in JSON format. I need to fix the first row (Location in this case) which should be displayed straight after the Header and should be red in colour. Can anyone point me out to the correct direction please?

[code]

json="{""aoColumns"":[{""sTitle"":""Location""}"

json=json&",{""sTitle"":""Average Score""}"
json=json&",{""sTitle"":""Number of Reviews""}]"

json=json&",""aaData"":["
json=json&"["""&Location&""","
json=json&"["""&Score&""","
json=json&"["""&Rev&"""]"

json=json&"]"
json=json&"}"
[/code]
This discussion has been closed.