• Resolved Sharief

    (@shariefs)


    Firstly, thanks for this very nifty and useful plugin.

    I’m having quiet a challenge figuring out how to resolve this issue, I’ve searched through the forum and tried some suggestions mentioned like modifying the tables in the style.css, but to no success.

    The problem I’m having is that no matter what theme I use, the number of columns that are displayed are n-1. On my test site https://halaltrade.isnlogistics.co.za, you will see on the one page 4 columns with a + to expand, then on the other is 3 columns with a + to expand.

    Can you please direct or assist me with this?

    Regards

Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Author Meitar

    (@meitar)

    Um. I’m not seeing that.

    On the “Food Products” page, there are five total data columns, shown with responsive mode enabled, so four are visible with a disclosure button to view the fifth. The source spreadsheet also contains five data columns, so this is not a N-1 situation.

    On the “Restaurants” page, there are six total data columns, shown with responsive mode enabled, so five are visible with a disclosure button to view the sixth. The source spreadsheet also contains six data columns, so this is also not a N-1 situation.

    In other words, everything seems to be working as intended.

    Thread Starter Sharief

    (@shariefs)

    Thank you for responding.

    After posting the question, I created another table for the “restaurants” page, hence the tables where not as I described. What you’ve said is correct and is what I meant, although perhaps not correctly explained.

    Correct that on the respective pages there are 5 and 6 data columns in the spreadsheet. My question though is, how do I configure it so that the same number of data columns display on the page corresponding to its spreadsheet i.e. If there are 5 data columns in the spreadsheet, 5 columns should be displayed on the webpage without the disclosure button?

    Plugin Author Meitar

    (@meitar)

    how do I configure it so that the same number of data columns display on the page corresponding to its spreadsheet i.e. If there are 5 data columns in the spreadsheet, 5 columns should be displayed on the webpage without the disclosure button?

    Turn off the responsive display; class="no-responsive".

    I have this situation, tho I want to show 4 columns and have 3 with the + button

    Plugin Author Meitar

    (@meitar)

    I want to show 4 columns and have 3 with the + button

    To customize when the + appears, you need to use Responsive’s breakpoints. See the DataTables documentation.

    The issue is viewing on mobile. It auto does this and i want to control when it does it. I can upload screen shots if that would help

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Number of columns displaying are n-1’ is closed to new replies.