• Resolved LeopardRUS

    (@leopardrus)


    Good day! Sorry to bother you! I have a question on the main part of the table. Need to get all table, but table should be small in height (250px) and with a Fixed Header. How to do it?

Viewing 11 replies - 1 through 11 (of 11 total)
  • Thread Starter LeopardRUS

    (@leopardrus)

    Maybe I wrote wrong?! I need a table with a fixed height (250px), scrollable and fixed header? Help?

    Plugin Author Tobias Bäthge

    (@tobiasbg)

    Hi,

    thanks for your post, and sorry for the trouble.

    For this, it should be sufficient to use an existing Shortcode parameter:
    [table id=123 datatables_scrolly=250 /]

    Regards,
    Tobias

    Thread Starter LeopardRUS

    (@leopardrus)

    Thanks for the quick reply! But I doesn’t work. Maybe something I need to include? Insert code – [table id=1 datatables_scrolly=250 datatables_fixedheader=top/]

    Thread Starter LeopardRUS

    (@leopardrus)

    Thank you for Your work! I You mail [email protected] made a donation!
    But the problem is not yet solved!

    • This reply was modified 9 years, 7 months ago by LeopardRUS.
    Plugin Author Tobias Bäthge

    (@tobiasbg)

    Hi,

    thanks for the donation, I really appreciate it!

    You should only need the datatables_scrolly parameter here, it will add its own fixed header (to the top of the table, not to the page).

    Does that work? If not, can you please post a link to the page with the table where this problem happens, so that I can take a direct look? Thanks!

    Regards,
    Tobias

    Thread Starter LeopardRUS

    (@leopardrus)

    here page – http://kmto-spb.ru

    Plugin Author Tobias Bäthge

    (@tobiasbg)

    Hi,

    please remove the datatables_fixedheader=top Shortcode parameter and add datatables_scrolly=250 instead.

    Regards,
    Tobias

    Thread Starter LeopardRUS

    (@leopardrus)

    Replaced! But still something wrong!

    Plugin Author Tobias Bäthge

    (@tobiasbg)

    Hi,

    ah, my bad, we need the px unit as well. The correct Shortcode parameter should be
    datatables_scrolly=250px

    Regards,
    Tobias

    Thread Starter LeopardRUS

    (@leopardrus)

    Thanks for the help! It is strange that I miss it!

    Plugin Author Tobias Bäthge

    (@tobiasbg)

    Hi,

    no problem, you are very welcome! 🙂 Good to hear that this helped!

    Best wishes,
    Tobias

    P.S.: In case you haven’t, please rate TablePress here in the plugin directory. Thanks!

Viewing 11 replies - 1 through 11 (of 11 total)

The topic ‘Table small in height’ is closed to new replies.