How to select the matching th value for each td value
How to select the matching th value for each td value
![AppsbyICE](https://secure.gravatar.com/avatar/aaf065d39890e783c721822123d196dd/?default=https%3A%2F%2Fvanillicon.com%2Faaf065d39890e783c721822123d196dd_200.png&rating=g&size=120)
I am using the following selection to select a row of values
"fnRowSelected": function ( nodes ) {
var oTT = TableTools.fnGetInstance( 'accounts_id' );
var aSelectedData = oTT.fnGetSelectedData();
alert( aSelectedData );
}
I get a nice list of values for the selected row. I would like to match each value to its corresponding column header <th> value.
How do I get the parent table header values?
This discussion has been closed.
Answers
This is the approach that I took: