I am using jquery table and html.
I have fixed width table columns. But I don’t want the text wrapping to the next line or enlarging the table when the text td exceeds the width.
Is it possible to display the value of td on hover when the length of the text is greater than the width of td?
If the td value is:
abbcccccccccccccccccccccccccccccccccccccccccccccccccccc
then I should only display:
abccccc......
and on hover I should display all the text:
abbcccccccccccccccccccccccccccccccccccccccccccccccccccc
Is it possible? Please suggest me.
How can I calculate if text length exceeds td?
Thank!
source
share