I believe you can make tooltips work with an ajax data source by using mRender and fnCreatedCell. Note the datatables reference page and compare fnCreatedCell with fnCreatedRow.
HTML
<table id="example" class="table table-condensed">
<thead>
<tr>
<th>Vegetable</th>
<th>Fruit</th>
<th>Options</th>
</tr>
</thead>
<tbody></tbody>
</table>
JavaScript (or at least the pertinent part of calling datatables)
$('#example').dataTable({
"aaData": aaData,
// other set up for datatables left out for the sake of getting to the main issue...
"aoColumnDefs": [
{ "aTargets": [0],
"mData": "VegetableName",
"sWidth": "150px"
},
{ "aTargets": [1],
"mData": "FruitName",
"sWidth": "150px"
},
{ "aTargets": [2],
"mData": "LoansOpenedThisDay",
"mRender": function (data, type, full) {
// Note:
// not manually coding the '<td>' as in the question.
return '<div class="btn-group1">' +
'<a class="btn btn-small" rel="tooltip" data-placement="left" data-original-title="Edit">' +
'<i class="gicon-edit"></i>' +
'</a> ' +
'<a class="btn btn-small" rel="tooltip" data-placement="top" data-original-title="View">' +
'<i class="gicon-eye-open"></i>' +
'</a>' +
'<a class="btn btn-small" rel="tooltip" data-placement="bottom" data-original-title="Remove">' +
'<i class="gicon-remove"></i>' +
'</a>' +
'</div>';
},
"fnCreatedCell": function (nTd, sData, oData, iRow, iCol) {
// console.log( nTd );
$("a", nTd).tooltip();
}
}
],
// more datatables set up...