Cell sizing

Cell sizing

AndersHPAndersHP Posts: 36Questions: 14Answers: 1

http://live.datatables.net/darepije/2/edit

Im playing around with the table cell sizing. The default behaviour seems to be that the cell draws two lines, and then the second line expands the width of the cell if there is enough content. I like the fact that it draws two lines, but how do i limit the cell to not expand when there is too much content? instead it should just put "..." in the end, and maybe show a hint with all the text when hovering.

Hopefully the example illustrates the issue

This question has an accepted answers - jump to answer

Answers

  • AndersHPAndersHP Posts: 36Questions: 14Answers: 1

    Bumperino

  • allanallan Posts: 63,201Questions: 1Answers: 10,414 Site admin
    Answer ✓

    I like the fact that it draws two lines, but how do i limit the cell to not expand when there is too much content?

    Check out this plug-in. I apparently haven't blogged about it yet (thought I had - added to the todo list!), but there are documentation comments in the file showing how it can be used.

    Regards,
    Allan

  • AndersHPAndersHP Posts: 36Questions: 14Answers: 1

    Thank you sir

This discussion has been closed.