Change width of collumns?

Change width of collumns?

Mert1296Mert1296 Posts: 43Questions: 7Answers: 0
edited October 2018 in Free community support

Hi,
I want to change the width of some table collumns. When I'm searching or sorting the width of my collumns is changed again (.draw-Method).. I tried it with the collumnDefs like it is shown by DataTables (https://datatables.net/reference/option/columns.width ). Can someone help me out?
Cheeres,
Mert

Replies

  • colincolin Posts: 15,236Questions: 1Answers: 2,598

    Hi @Mert1296 ,

    Yep, columns.width is the way to go. If that's not working for you, we're happy to take a look. As per the forum rules, if you could link to a running test case showing the issue we can offer some help. Information on how to create a test case (if you aren't able to link to the page you are working on) is available here.

    Cheers,

    Colin

  • colincolin Posts: 15,236Questions: 1Answers: 2,598

    Duplicate thread - please only raise one.

This discussion has been closed.