datatables的官方例子中似乎沒有提到表格雙擊和獲取相應行號的功能;
經過探索可以按照以下方式實現:
$("#example tbody tr").dblclick(function(e){
var index = $(this).context._DT_RowIndex; //行號
}