Sorting data issues when selecting row
Sorting data issues when selecting row

When I click the sort column the data changes visually but if I get the data from the row id its doesn't change.
Example
John, 27 - Check row data - John,27
Mick 40
////////////////////////////////////////////////////////////
Mick 40 - Check row data - John,27
John 27
How can I fix this ?
$("body").on("click","#example .cCheckData",function(){
var row = $(this).closest('tr')[index];
alert( table.row(row).data()[0]);
});
Thanks a mill in advance
This discussion has been closed.