• Resolved Nykess

    (@nykess)


    Hello,

    I am using [table id=63 responsive=scroll datatables_fixedheader=top datatables_fixedheader_offsettop=45 /] as my shortcode with the plugin fully installed, but it isn’t working. Also tried the CSS fix you have included in several support posts.

    Any other ideas why it may not be fixing in place?

    Would prefer not to post URL publicly, but can e-mail if needed.

    Thanks.

Viewing 13 replies - 1 through 13 (of 13 total)
  • Plugin Author Tobias Bäthge

    (@tobiasbg)

    Hi,

    thanks for your question, and sorry for the trouble.

    Yes, I would need to see the page. Please email it to me if possible, the address is in the main plugin file “tablepress.php”.

    Regards,
    Tobias

    Thread Starter Nykess

    (@nykess)

    Incoming!

    Thank you.

    Plugin Author Tobias Bäthge

    (@tobiasbg)

    Hi,

    thanks for send me the link! It seems that the actual JS call is not in the page. Can you please check if the “Use DataTables” checkbox is checked on the table’s “Edit” screen?

    Regards,
    Tobias

    Thread Starter Nykess

    (@nykess)

    Oh! That worked! Feel silly. One problem, though, is that when fixed, it aligns the table headings to the right, so they don’t align with the correct columns anymore.

    Any idea why? It seems it’s because column 1 has a width and min-width of 66px. Is that supposed to be that way?

    • This reply was modified 8 years, 10 months ago by Nykess.
    Plugin Author Tobias Bäthge

    (@tobiasbg)

    Hi,

    good to hear that this worked!
    And I can confirm that the widths in the fixed header are off. Unfortunately, I have no clue why, as I’m not too familiar with the internals of the FixedHeader JS code. 🙁 I can only suggest to maybe manually set column widths here, which will require the !important flag to overwrite the inline styles.

    Regards,
    Tobias

    Thread Starter Nykess

    (@nykess)

    Thanks, Tobias. What CSS selector would be used in this case?

    Plugin Author Tobias Bäthge

    (@tobiasbg)

    Hi,

    please see https://tablepress.org/faq/column-widths/ for an example.

    Regards,
    Tobias

    Thread Starter Nykess

    (@nykess)

    Yes, but that doesn’t seem to work for the fixed header. I already use that particular selector a lot for other tables.

    Plugin Author Tobias Bäthge

    (@tobiasbg)

    Hi,

    yes, but did you add the !important flag?

    Regards,
    Tobias

    Thread Starter Nykess

    (@nykess)

    Yes, of course.

    Plugin Author Tobias Bäthge

    (@tobiasbg)

    Hi,

    ok. Too bad that it didn’t work. Unfortunately, other than that, I don’t really have an idea here 🙁 Sorry 🙁

    Regards,
    Tobias

    Thread Starter Nykess

    (@nykess)

    All good. Thank you.

    Plugin Author Tobias Bäthge

    (@tobiasbg)

    Hi,

    no problem!

    Best wishes,
    Tobias

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

The topic ‘Another “fixedheader isn’t working” post…’ is closed to new replies.