Support » Plugin: TablePress - Tables in WordPress made easy » Buttons extension: Column Visibility button broken on iPhone

  • Resolved ecclescake

    (@ecclescake)


    Hello Tobias,

    I’ve been experimenting with your plugin to see if it will meet the needs of a site I manage. Overall it’s really nice, but I’m having trouble with the Column Visibility button on iPhone. Once the button is tapped and the selection pane is open, there is no way to close it! Tapping on the button again, or on the background, or on any of the items in the selection pane doesn’t do anything. Everything works fine in a desktop browser.

    This is my table shortcode:
    [table id=1 datatables_fixedheader=top datatables_fixedheader_offsettop=40 responsive=scroll datatables_buttons=colvis /]

    I tried disabling the other extensions and only using datatables_buttons=colvis but it still didn’t work.

    Here is the debug info:

    · TablePress: 1.7
    · TablePress (DB): 32
    · TablePress table scheme: 3
    · Plugin installed: 2016/06/30 14:19:07
    · WordPress: 4.5.3
    · Multisite: no
    · PHP: 5.6.22
    · mysqli Extension: true
    · mySQL (Server): 5.5.50-MariaDB
    · mySQL (Client): 5.5.49-MariaDB
    · ZIP support: yes
    · UTF-8 conversion: yes
    · WP Memory Limit: 128M
    · Server Memory Limit: 256M
    · Magic Quotes: off
    · WP_DEBUG: false
    · WP_POST_REVISIONS: true

    The table is on a private dev site. I can send you access info if you like.

    Thanks so much for this excellent plugin! Aside from the colvis issue, it’s very easy to use and works great.

    -Erin

    https://wordpress.org/plugins/tablepress/

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

    (@tobiasbg)

    Hi,

    thanks for your post, and sorry for the trouble.

    Unfortunately, I’m not sure if I can help here at the moment. This might be a bug or limitation in the actual JS code for the DataTables Buttons Extension. As this is not developed by me, we can only hope that it gets fixed in a future version of that external JS library.
    One idea could be to check if the example on https://www.datatables.net/extensions/buttons/ works on your iPhone.

    Regards,
    Tobias

    Thread Starter ecclescake

    (@ecclescake)

    Hi Tobias,

    Thanks for the quick response!

    Here’s some further info about testing a table with the column visibility buttons:

    – When I visit datatables.net/extensions/buttons/examples/column_visibility/simple.html on my iPhone, the column visibility popup works as expected: tapping on the dark overlay dismisses the popup.

    – When I visit a test table made using TablePress on a site using the 2015 theme and only the relevant TablePress plugins active, the column visibility popup doesn’t work — it can not be dismissed.

    – When I create a new, smaller, test table and view it using the 2015 theme and only TablePress + TablePress Buttons active, the column visibility popup doesn’t work, as above.

    So I do think this is a problem with the TablePress version of the Buttons extension. It is as though the dark overlay responds only to clicks, not taps. I wish I could do more troubleshooting, but I’m not very familiar with jQuery plugins or Datatables, sorry.

    Hope this helps.

    -Erin

    Plugin Author TobiasBg

    (@tobiasbg)

    Hi Erin,

    thanks a lot for this research, I really appreciate it!
    Indeed, it sounds like some TablePress CSS or JS might have something to do with this then. I’ll do some more testing as soon as I have time, but as I’m very busy at the moment, I can’t promise a quick solution. 🙁 Sorry.

    Regards,
    Tobias

    Thread Starter ecclescake

    (@ecclescake)

    Thanks for looking into this when you have the time. I’ll let you know if I find a fix, too. (I’m not optimistic about that since I don’t have much experience with jQuery plugins.)

    Plugin Author TobiasBg

    (@tobiasbg)

    Hi,

    thanks! That would be great! I’ll also update the Extension soon, maybe that fixes this as well.

    Best wishes,
    Tobias

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Buttons extension: Column Visibility button broken on iPhone’ is closed to new replies.