table height when filtered or for last page

table height when filtered or for last page

plangplang Posts: 2Questions: 0Answers: 0
edited August 2010 in General
Hi,

I'm really glad I found your libray, which is amazing. Thanks.

When filtering a table, or when getting to the last page, the table height gets smaller, and navigation moves up. Is there a way to keep the table height at a fixed size maybe?

I have tried adding a height="300" to the table tag, but the table lines get stretched.

Thanks!

Philippe

Replies

  • allanallan Posts: 63,498Questions: 1Answers: 10,471 Site admin
    You could use sDom ( http://datatables.net/usage/options#sDom ) to put a div around the table and then just apply a CSS height to the div.

    Allan
  • plangplang Posts: 2Questions: 0Answers: 0
    Works perfect, thanks Allan!
This discussion has been closed.