• Resolved nirnaya

    (@nirnaya)


    Hello,

    First of all thanks for creating a wonderful plugin,it is helping me a lot.
    I have one issue

    I am using 2 responsive tabs (using responsive tabs plugin),each having 1 tablepress table.
    Though When I used to insert the table code in Tab1 — [table id=1 responsive=collapse/] table is working fine in desktop version.

    But when I’m using code [table id=2 responsive=collapse/] , table adapts the mobile format in the desktop version.

    Here is the screenshot, both screenshot are from desktop version

    http://prntscr.com/u7gpg1 – Table 1
    http://prntscr.com/u7gpw5 – Table 2

    Kindly help, Thanks

Viewing 8 replies - 1 through 8 (of 8 total)
  • Thread Starter nirnaya

    (@nirnaya)

    Place where I’m using the code
    http://prntscr.com/u7gtgn

    , is the table2 taking the responsive mode of table1?

    Plugin Author Tobias Bäthge

    (@tobiasbg)

    Hi,

    thanks for your post, and sorry for the trouble.

    The cause for this is the use of tabs to show the table. Unfortunately, the collapse mode does not support that well. The reason is that the second table is initially hidden, and this means that the JS code can not do certain calculations (like column or table width). If you want to use tabs here, I can therefore only suggest to use a different mode of responsiveness for your tables.

    Regards,
    Tobias

    Thread Starter nirnaya

    (@nirnaya)

    So, instead of Tabs If I use some other element like button/link/list ,then all will work fine?

    Thread Starter nirnaya

    (@nirnaya)

    Ok,Thanks

    One more thing..

    Can I pull only some columns data and display into another table?

    Or Can i use SQl/Jquery to extract data from the tables?

    Mean,
    How can i extract some data from the table and display it another format.

    Thread Starter nirnaya

    (@nirnaya)

    Hello, One more question , is it possible that the whole page loads again when I press 2nd page(pagination) of my tablepress table?

    Plugin Author Tobias Bäthge

    (@tobiasbg)

    Hi,

    you can pretty much put the tables into all elements that are always visible. The problem is just that the collapse mode does not work nicely with tables that are initially hidden (for whatever reason).

    Querying data with a SQL query is not possible, sorry.
    You could however take a look at the TablePress Extension from https://tablepress.org/extensions/row-filter/ to show only parts of a table, by prefiltering rows.
    In addition, there are Shortcode parameters like hide_rows and hide_columns that you can use to selectively show data.
    And, to retrieve the values of single cells, you can use https://tablepress.org/extensions/table-cell-shortcode/

    The pagination always works directly in the page, via JavaScript, so that no full-page reloading (which might be slow) is needed.

    Regards,
    Tobias

    Thread Starter nirnaya

    (@nirnaya)

    Thanks for support, plz let me know if it is possible to reload the page on pagination?

    Plugin Author Tobias Bäthge

    (@tobiasbg)

    Hi,

    no, sorry, as mentioned above, this is not possible. This is by design, as it actually is much faster this way.

    Regards,
    Tobias

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

The topic ‘2nd table getting auto responsivr’ is closed to new replies.