var tableId = '#table1';
var oTable[tableId] = $(tableId).dataTable(); // Using oTable array due to multiple tables on the page
oTable[tableId].$('tr').on('click', showRow);
function showRow(){
console.log(oTable[tableId].fnGetData(this));
}
[ ]
It looks like you're new here. If you want to get involved, click one of these buttons!
Get useful and friendly help straight from the source.