Auto Column width?

Auto Column width?

tevinodttevinodt Posts: 4Questions: 2Answers: 0
edited October 2017 in Free community support

Hi, is there a way to have these heavy text columns present in closer to a paragraph form?
Or to be able to adjust these column widths individually?
My images aren't hosted to be able to post one.

Answers

  • hotswaphotswap Posts: 6Questions: 1Answers: 1

    Hi,

    "Hi, is there a way to have these heavy text columns present in closer to a paragraph form?"
    Normally large texts are displayed in paragraph format. Be sure not to add "nowrap" to the table class.

    "Or to be able to adjust these column widths individually?"
    $('#example').dataTable( {
    "columnDefs": [
    { "width": "20%", "targets": 0 }
    ]
    } );
    The "target" parameter indicates the target column.

    I hope this helps!

  • tevinodttevinodt Posts: 4Questions: 2Answers: 0

    And in what CSS would that class be featured in?

This discussion has been closed.