tooltip not working for fixed column in datatable
tooltip not working for fixed column in datatable

I am trying to create a datatable with fixed column and while hovering the row each row should display a tooltip.
I also have to break line if my tootip message have more than one value so i am using the content property.
Everything works well but just when i hover on my fixed column its not showing tooltip.
"fnDrawCallback": function () {
$(table_id + " tbody tr").each(function (index) {
sTitle = index;
if (index > 1) {
this.setAttribute('title', sTitle);
$(this).tooltip({
html: true,
content: function () {
return getToolTipMsg(table_id, index)
},
track: true,
});
}
});
}
})
Edited by Colin - Syntax highlighting. Details on how to highlight code using markdown can be found in this guide.
This discussion has been closed.
Replies
Take a look at this example - it's putting the salary field as a tooltip to the name field.
Colin