th labels wraps when using jQuery UI
th labels wraps when using jQuery UI
robberrones
Posts: 4Questions: 0Answers: 0
Hello,
I am using jQuery UI with datatables, and I'm running into this issue. I couldn't find it anywhere in the forum.
When datatables recalculates/repopulates the theads with jQuery UI, it inserts a floated span into the div, but doesn't wrap the original text with a floated span as well. So the code would look like this:
<!-- NEED FLOATED SPAN HERE-->Rate Package
Besides specifying widths, is there any other fix? Is it possible to add the span in?
Thanks,
Rob
I am using jQuery UI with datatables, and I'm running into this issue. I couldn't find it anywhere in the forum.
When datatables recalculates/repopulates the theads with jQuery UI, it inserts a floated span into the div, but doesn't wrap the original text with a floated span as well. So the code would look like this:
<!-- NEED FLOATED SPAN HERE-->Rate Package
Besides specifying widths, is there any other fix? Is it possible to add the span in?
Thanks,
Rob
This discussion has been closed.
Replies
[code]
div.DataTables_sort_wrapper { white-space: nowrap; }
[/code]
?
Allan
That fixes the wrapping, but because the inline widths are calculated already, the table expands outside it's container. I've tried manipulating the width though CSS, but that hasn't worked either.