FixedColumns, padding and column widths

FixedColumns, padding and column widths

kaukaskaukas Posts: 4Questions: 0Answers: 0
edited June 2012 in Bug reports
Hello.

I am integrating DataTables with FixedColumns into my project. Here is a weird situation reproduced:

http://jsfiddle.net/vswNC/

1. The Name column will not get smaller ignoring the width I am explicitly setting. It has overflow: hidden, should just cut the text.
2. The FixedColumns does not account for horizontal padding when lining up headers with content. Code column is 20px too wide therefore Name column is shifted 20px to the right and is itself 20px too wide.

Would you have any ideas how I could fix these issues?

Thank you for your help in advance!

Replies

  • kaukaskaukas Posts: 4Questions: 0Answers: 0
    If you apply
    [code]
    table {
    table-layout: fixed;
    }
    [/code]
    then it helps a bit. But then the sizes of the columns are nowhere near the desired ones.
This discussion has been closed.