Hey everyone!
With the holiday season upon us, we want to share our upcoming working hours:
- New Year: Our team will be off on January 1st and 2nd. We’ll be back on Friday, January 3rd, to respond to any messages received during this time.
- Weekend: As usual, we don’t work on weekends, so January 4th and 5th will also be non-working days.
- Orthodox Christmas: Our office will be closed on Monday and Tuesday, January 6th and 7th for the holiday.
After that, we’ll return to our regular schedule and assist you as quickly as possible.
In the meantime, you can explore our documentation for Amelia and wpDataTables. You'll find tons of helpful resources, including articles and handy video tutorials on YouTube (Amelia's YouTube Channel and wpDataTables' YouTube Channel), which might just have the answers you need while we’re away.
Thanks a bunch for your understanding and support!
Warm regards and happy holidays!
TMS
In my SQL table, i have a filterable column of strings organised in the sequence of :
1.0
1.1
1.2
.
.
.
2.0
2.1
..
18.0
18.1
...
i would like to human sort i.e. in the above order instead of :
1.0, 1.1, ...10.0, 10.1,....2.0, 2.1,........
is there any way to achieve this?
While you're waiting (I know the team at TMS are short-handed due to covid) have a look at this post on stackoverflow, might help https://stackoverflow.com/questions/153633/natural-sort-in-mysql
Hi Freddie,
Thank you for your purchase.
Sorry for the late response, we have some agents that have contracted Covid-19, so our team is cut in half.
Yes that is default behavioral for sting columns. Like Sue suggest you have to adopt this with some custom query and some of the solutions you can find on link that Sue provide.
One more suggestion is to check those queries in your database tool(phpmyadmin or what every you use) and when it is returning data that you need pelase create a view so you will avoid issues with server side options like filtering, searching.. because wpdatatables have dynamic logic for recreating queries and when your initial query is complicated this can provide not proper rendering and will throw no results.
Thank you Sue for help.
Best regards.
Kind Regards,
Isidora Markovic
wpDataTables: FAQ | Facebook | Twitter | Front-end and back-end demo | Docs
Amelia: FAQ | Facebook | Twitter | Amelia demo sites | Docs
You can try our wpDataTables add-ons before purchase on these sandbox sites:
Powerful Filters | Gravity Forms Integration for wpDataTables | Formidable Forms Integration for wpDataTables
Hi Freddie
This is a bit too complicated query to be handled simply by wpDataTableas so please prepare a MySQL view (a stored query), which will return the data that you need, call it e.g. “view1” and then build a wpDataTabled based on a simple query like “SELECT * FROM view1″.
Please note some this when working with the server-side processing feature: