Reputation: 319
I have the following jquery datatable. How to shorten and show a tooltip when hovering the value of the "Description" column?
var tableRequest = $('#tableRequest').DataTable({
data: this.Request,
columns: [
{ title: "ID", data: "ID" },
{ title: "Description", data: "Description" },
{ title: "Request", data: "Request" },
{ title: "Status", data: "Status" },
{ title: "Date", data: "Date" }
]
});
Upvotes: 0
Views: 5094
Reputation: 2104
To achieve this, you need to integrate Datatable eclipse plugin. Check a working example on below link:
https://datatables.net/blog/2016-02-26
Hope this helps you :)
Upvotes: 2