Table content slimmer than table header?

Table content slimmer than table header?

icebergiceberg Posts: 14Questions: 0Answers: 0
edited April 2011 in General
Hi there,

I just notice that, for slim tables (i.e. it contains only two or three slim columns), the table content occupies just-enough space for displaying data, but the table header row expands to full length of the screen. This results in table content appears much slimmer than the table header. Am I the only one who seeing this weird behavior?

Currently my workaround is to set a sScrollY: blah when initializing datatables. But it just doesn't feel good.

The sandbox (http://jsfiddle.net/gzARr/1/)

Thanks in advance.
Ray

Replies

  • allanallan Posts: 63,522Questions: 1Answers: 10,473 Site admin
    This should do it for you: http://datatables.net/forums/comments.php?DiscussionID=4860&page=1#Item_2

    Allan
  • icebergiceberg Posts: 14Questions: 0Answers: 0
    Thanks for the info! I should read that post first before my post. Sorry.

    By the way, the sandbox demostrates another issue (http://datatables.net/forums/comments.php?DiscussionID=4859), too. Hope you can confirm it and add it to your todo list.

    Regards,
    Ray
This discussion has been closed.