long line in SearchPanes
long line in SearchPanes
Alessandrova
Posts: 24Questions: 7Answers: 0
Is it possible to wrap a long line in SearchPanes, so that the numbers (on the right end of the line) are visible without scrolling to the right?
I found this page in the documentation, but I would need to wrap the long line:
https://datatables.net/extensions/searchpanes/examples/advanced/longData.html
Thanks!
Answers
That example actually looks rather buggy to me. Thanks for the link - I'll look into this when I can.
Allan
Thanks, Allan. I did not realize that the link was aimed to show the line wrap. I thought it warned against having long lines.
Dear @allan,
I guess I found a workaround in this previous thread.
I used the "ellipsis plugin" in the SearchPanes and the result is what I was looking for: the long lines are truncated so that numbers are visible without scrolling to the right.
The only issue I experience is that on small screens (mobile phone) the span which is visible on hover doesn't appear...
I'm not sure how that would be made to work since phones and tablet's don't really do hover?
Allan
Exactly. That's why a line wrap in the SearchPanes would be the best option (so that the entire line would be always visible, without ellipsis).
Once I get a chance to get the ellipsis working, switching to wrapping should just be a simple CSS statement.
Allan