Can't get rows to size

Can't get rows to size

hammersmashhammersmash Posts: 15Questions: 0Answers: 0
edited November 2011 in General
I set bAutoWidth to false and set sWidth for each column to x px. Unfortunately the table expands to contain the data given it (ie if the word in a column is 300 characters the column, and the table, expands to that length) making it several times the size of the containing div.

I must be doing something wrong. How do I get the rows to stay a constant size? I have the set the cells to hide overflow.

Also, why do the columns scroll but not the heads with the columns?

Replies

  • hammersmashhammersmash Posts: 15Questions: 0Answers: 0
    Never mind, this appears to be a browser problem. Found a relevant post immediately after posting this, and search through the site for several hours.
  • hammersmashhammersmash Posts: 15Questions: 0Answers: 0
    For anyone looking for a solution for setting a hard limit on the maximum size of a column:

    1. make column html
    2. put data in a div and set the div width and overflow.
This discussion has been closed.