How does autowidth:false assigns width to columns? On what parameters?

How does autowidth:false assigns width to columns? On what parameters?

Nijagun GadagiNijagun Gadagi Posts: 6Questions: 3Answers: 0

Hi,

Please let me know the function or on what logic does that autowidth:false property assigns width to respective columns? Table columns are not displaying equally if only 3 columns are visible? Column width is getting assigned based on some proportional values...
Can you please let me know how actually does this work?

Answers

  • Nijagun GadagiNijagun Gadagi Posts: 6Questions: 3Answers: 0

    PFA for more details of the question above.

    Thank you.

  • allanallan Posts: 63,873Questions: 1Answers: 10,528 Site admin

    The browser will assign the width based on the content of the cells in each column. Since your last column has quite a long title, it is given proportionally more space. That would also be the case if you didn't use DataTables, but rather using a plain unenhanced table.

    Allan

This discussion has been closed.