retreiving table header
retreiving table header
charnold
Posts: 5Questions: 3Answers: 0
when the user selects a row, how can i retrieve the column header as an array, which can then be used with the row data as a JSON record?
i am using the .on( 'select' , function ( e, dt, type, indexes){ }) to get the data.
This discussion has been closed.
Answers
to clarify i want the entire header row as an array like that returned from "...row().data()"
var api = new jQuery.fn.dataTable.Api( selector )
api.settings()[0].aoColumns