• Resolved cigiloviccom

    (@cigiloviccom)


    Hello Tobias,

    First of all, thanks a million for this outstanding plugin! I have discovered it today and I have been converting my 50+ tables to a TablePress one!

    Most of the simple tables were easily imported into the plugin with HTML formatting and I had no issues at all.

    However, I have noticed a weird problem that I can not solve.

    For the link I shared, I created 2 tables for my posts pages and tags in TablePress. And I’m 100% sure that it worked initially! I was able to limit rows to 25 and enable search with pagination. Just spot-on solution for my big table pages.

    I wanted to check it on mobile after 2 hours or so and noticed it was just a regular TablePress table without limited rows or search function. I thought it should be related to mobile-only.

    Settings for this table remain the same.

    [table id=XX datatables_fixedcolumns_left_columns=1 datatables_fixedcolumns_right_columns=0 responsive=”scroll” /]

    I was using this format insert for every table and made it work once.

    On Table Options, only the first row is the header selected.
    For the Javascript library, these below are selected and I saved it many times.

    Use the following features of the DataTables JavaScript library with this table:

    Search/Filtering: Enable the visitor to filter or search the table. Only rows with the search word in them are shown.

    Pagination: Enable pagination of the table (viewing only a certain number of rows at a time) by the visitor.
    Show
    15
    rows per page.

    Info: Enable the table information display, with information about the currently visible data, like the number of rows.

    Horizontal Scrolling: Enable horizontal scrolling, to make viewing tables with many columns easier.`

    I can not find a solution to why it only shows on the desktop.

    Would you be able to help?

    Many thanks,

    The page I need help with: [log in to see the link]

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author TobiasBg

    (@tobiasbg)

    Hi,

    thanks for your post, and sorry for the trouble.

    The cause for this is some feature on your site (either a plugin or in the theme) that’s changing the way how the jQuery JavaScript library is loaded, namely to some form of lazy-loading. This is however not working properly for jQuery and should be avoided. In this particular case, it leads to a JavaScript error due to which the JavaScript features in TablePress are not loaded anymore.
    Please try turning that lazy-loading for jQuery off.

    Regards,
    Tobias

    Thread Starter cigiloviccom

    (@cigiloviccom)

    Hi Tobias,

    Thank you very much for your response! I was also suspicious about caching because I saw this functioning a couple of times and disappeared. Now it’s working!

    I think this was due to Autoptimize caching jquery, I excluded them all.

    Many thanks,

    Osman

    Plugin Author TobiasBg

    (@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 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Weird Problem with Search Tables’ is closed to new replies.