Adding th title to tfoot inputs

Adding th title to tfoot inputs

tangerinetangerine Posts: 3,342Questions: 35Answers: 394

How can I get the tfoot input to accept the line-break in the "Position" header?

http://live.datatables.net/yuximunu/1/

This question has an accepted answers - jump to answer

Answers

  • bindridbindrid Posts: 730Questions: 0Answers: 119

    You can't in a place holder

  • allanallan Posts: 61,446Questions: 1Answers: 10,054 Site admin
    Answer ✓

    The code was reading the title text from the tfoot which just had the text "Position" - there wasn't a second line. That was in the thead.

    Copying the header to the footer allows the full line to be shown: http://live.datatables.net/yuximunu/3/edit . The break is stripped out as @bindrid points out though.

    Allan

  • tangerinetangerine Posts: 3,342Questions: 35Answers: 394

    I suspected I was not seeing something obvious! I'm an idiot.
    Thank you both.

  • bindridbindrid Posts: 730Questions: 0Answers: 119

    @tangerine there are a couple of nice customizable tooltip plugins such as qtip2 that can be use in place of the placeholder. I find these particularly useful with Select2 when the select item is so long that the ellipse (...) shows up.

This discussion has been closed.