how to Limit data in column to fix length(no wrap) and show all data into tool tip?
how to Limit data in column to fix length(no wrap) and show all data into tool tip?
taj
Posts: 20Questions: 5Answers: 0
I have tried title as below but not working.
"columnDefs": [
{
targets: 4, className: "dt[-head|-body]-nowrap", title: 'testtt'
}]
also in CSS added following stylesheet
.dt-body-nowrap { white-space: nowrap !important; }
This question has an accepted answers - jump to answer
Answers
It would be best to use
columns.render
for that. This blog post should help,Colin
thanks lot @colin , sorry if any inconvenience caused.