Fixed column size

Fixed column size

slowmdmslowmdm Posts: 1Questions: 0Answers: 0
edited April 2013 in DataTables 1.9
Does anyone know how to fix left column widths so that they do not stretch, I tried using the plugin FixedColumns but we are hiding rows and columns, this plugin creates a clone of the columns to set the width and breaks our existing code. It seems like it should be a very simple thing to have col 1 width is 20 and col 2 width is 100 and not stretch. Is that possible?

Replies

  • marsmars Posts: 29Questions: 2Answers: 0
    i am also using fixed column plugin, and it works fine if the table's width is enough long. as you said, the plugin copy the head into body's head (in you debug in your browser). i have a bad way to solve your problem, you can disable the table's head and make the body's head's height the same as table's head(maybe you also need to copy the head's details). then the column will not stretch
This discussion has been closed.