Implementing click on row added using fnAddData
Implementing click on row added using fnAddData
The data on the table was loaded using fnAddData. It worked well. Now, I'm trying to use the same example as fnGetData in http://www.datatables.net/api but the event is not firing.
The version of jQuery is 1.9.0 and DataTables 1.9.4.
The version of jQuery is 1.9.0 and DataTables 1.9.4.
This discussion has been closed.
Replies
[code]
$('#myTable TBODY TR').click(function () {
alert(JSON.stringify($('#myTable').dataTable().fnGetData(this)));
});
[/code]