Same width across multiple tables
Same width across multiple tables
anandkulkarni
Posts: 9Questions: 3Answers: 0
HI,
I have 3 datatables on single page , one below the other.
ALl render same number of columns at on one event but they all render with different column widths. Every event returns different number of columns. i cannot fix the width for fix number of columns.
Can anyone help ?
This question has an accepted answers - jump to answer
This discussion has been closed.
Answers
here is a screen shot of my tables
http://postimg.org/image/6ma262ebx/
I have the same problem with width and I fixed it with the foolowing lines:
'autoWidth: false,'
'scrollX: true,'
Then it will take in consideration the configuration you have made with 'columndefs'. For my part I'm losing the search field...
Thanks theslyguy
thats one way. Also 'table-layout: fixed' worked for me.