Hi,
I have a column in my datatable which is an edit icon. Onclick of that icon i wanted to retrieve the row and send a server call.
$('#department tbody').on('click', 'td.details-control', function () {
var rowIndex = table.fnGetPosition( $(this).closest('tr')[0] );
} );
Instead of rowIndex I need the departmentId which is in 3rd column of the dataTable.
Is there a way to do that?