Page 1 of 1

Mobile Friendly table does not show sort buttons in header

Posted: Thu Apr 25, 2024 12:07 pm
by remmerden
This morning we bought WWB19 and the Mobile Friendly table extension.
Although we have checked the 'Sortable columns' checkbox, the table shows no sort buttons in the header of the table as described in the documentation.

Is this a WWB19 issue? Or (if not) why are the sort buttons not shown?

Re: Mobile Friendly table does not show sort buttons in header

Posted: Thu Apr 25, 2024 12:10 pm
by Pablo
Did you publish all files?
What are your settings?
What is the URL of the page?

Please try to be more specific. See also the forum rules.

Re: Mobile Friendly table does not show sort buttons in header

Posted: Thu Apr 25, 2024 1:33 pm
by remmerden
Hi Pablo,
The site I am testing the Mobile friendly table with is https://kadersolutions.nl/tmp
1. Yes I published all files
2. I have checked all the checkboxes

To explain:
Yes, today you received a message about the admin functionallity from my personal account. At home I have wwb16 but at the office today we bought wwb19 and also the mobile friendly table extension. That's why I am writing this ticket from our business emailaccount; this morning i did not have a business account so i asked the question about the admin functionallity using my personal account)

Is this enough info for you or do you need additional information?

Re: Mobile Friendly table does not show sort buttons in header

Posted: Thu Apr 25, 2024 1:33 pm
by remmerden
And yes, I just built this page using the English version

Re: Mobile Friendly table does not show sort buttons in header

Posted: Thu Apr 25, 2024 1:39 pm
by BaconFries
The url you have provided requires user login details. Can you just simply post a url to the page with the extension on it this way we can view.

Re: Mobile Friendly table does not show sort buttons in header

Posted: Thu Apr 25, 2024 1:53 pm
by remmerden
You're right, I'm sorry...

If you go to https://kadersolutions.nl/tmp/testpage.php you will see that no sorting buttons are shown

Re: Mobile Friendly table does not show sort buttons in header

Posted: Thu Apr 25, 2024 2:08 pm
by Pablo
I am not sure about your configuration
The empty column to indicate that some fields are misconfigured?

If you needs further help then I will need to know ALL exact settings. Including the database configuration, because I cannot see what you have done based on the HTML.

Re: Mobile Friendly table does not show sort buttons in header

Posted: Thu Apr 25, 2024 2:19 pm
by remmerden
I would really appreciate helping me further!

- Look at https://kadersolutions.nl/tmp/screenshot1.png and https://kadersolutions.nl/tmp/screenshot2.png
There you can see how i configuered the mobile friendly table extension
- You are asking about the database configuration but as you can see the database is just a csv-file
- Some columns in the csv-file are empty so of course they are shown empty in the table

Is this enough information for you or do you need more?

Re: Mobile Friendly table does not show sort buttons in header

Posted: Thu Apr 25, 2024 2:36 pm
by Pablo
Please share a DEMO project.

Image

Re: Mobile Friendly table does not show sort buttons in header

Posted: Thu Apr 25, 2024 2:45 pm
by remmerden
Ok, If you go to https://kadersolutions.nl/tmp/testpage.php you can download my testproject

Re: Mobile Friendly table does not show sort buttons in header

Posted: Thu Apr 25, 2024 2:58 pm
by Pablo
1. Uncheck 'Get column names from data
2. Replace "Column1,Column2,Column3,Column4", with the actual column names
product,serienummer,graveernr,afdeling,vlg.keuring,contract#,startdatum,looptijd,garantie,nog garantie?,datum wzh,actie,aantekeningen...

This reason for this is because otherwise the column name are unknown before the 'sort' attribute is applied.

Re: Mobile Friendly table does not show sort buttons in header

Posted: Fri Apr 26, 2024 8:48 am
by remmerden
Thank you for your assistance Pablo!