Themed table width.

Themed table width.

Walter_StolzWalter_Stolz Posts: 46Questions: 6Answers: 0
edited July 2011 in General
I tried to create themed table (jquery-ui).

Please, could someone tell me: How to expand the width of the tables header to the border of last column?
By default, it fits to the windows size.

http://img820.imageshack.us/img820/4559/questionxh.jpg

Replies

  • allanallan Posts: 63,523Questions: 1Answers: 10,473 Site admin
    Looks like you have too much data in the table for it to display in such a small space. So you could 1. remove the container on your bounding box, or 2. enable x-scrolling (sScrollX).

    Allan
  • Walter_StolzWalter_Stolz Posts: 46Questions: 6Answers: 0
    With this methods my table stops working together with FixedHeader (2.04/2.0.5.dev).
    When I tried to use your second advice, I've got an error:

    "FixedHeader 2 is not supported with DataTables' scrolling mode at this time."
  • allanallan Posts: 63,523Questions: 1Answers: 10,473 Site admin
    The error is correct - it isn't :-). Try FixedColumns instead which is suitable for use with Scrolling. Bare in mind that Y-Scrolling and FixedHeader are basically trying to solve the same thing.

    Allan
  • Walter_StolzWalter_Stolz Posts: 46Questions: 6Answers: 0
    After using FixedColumns plugin I have displacement of the my table when window is minimized.

    http://img825.imageshack.us/img825/3572/errorev.jpg
This discussion has been closed.