Not entirely sure what you are looking for - but given that you wrote the HTML, you will know the column names, so you can pull it out of aaData (or whatever) as required. Also you have the TR element for the footer so you could do something like $('th', nRow) if you wanted to get an array of the TH elements.
Replies
Not entirely sure what you are looking for - but given that you wrote the HTML, you will know the column names, so you can pull it out of aaData (or whatever) as required. Also you have the TR element for the footer so you could do something like $('th', nRow) if you wanted to get an array of the TH elements.
Regards,
Allan
Have you a example? to get the column names.
You've got two options:
1. Query the DOM as I said before with something like: $('th', nRow)
2. Get the columns information from the settings object:
[code]
var aoColumns = oTable.fnSettings().aoColumns;
var sColumn1Title = aoColumns[0].sTitle;
// etc
[/code]
Regards,
Allan