column widths

column widths

nicericonicerico Posts: 3Questions: 1Answers: 0
edited September 2009 in General
Hello

Can you help me?
I try to display the table column widths that correspond with the text in it
eg my date column has a width too large
how to reduce the width automatically?

thank you for your help

Replies

  • allanallan Posts: 63,691Questions: 1Answers: 10,500 Site admin
    Hi nicerico,

    DataTables will automatically try to calculate the best width for the table columns. If you don't want this to occur, you can disable it using bAutoWidth ( http://datatables.net/usage/features#bAutoWidth ), and set widths in the table's HTML as normal.

    Regards,
    Allan
  • nicericonicerico Posts: 3Questions: 1Answers: 0
    Thanks so much for your answer and your plugin
    merci beaucoup

    Cordialement,

    nicerico
This discussion has been closed.