I'd like to disable sorting for certain columns. Is there any option that provides this function?
Background: I have some string columns, which mostly contain numbers, but could also contain some additional information. The result: the sorting algorithm doesn't sort correctly. You can see it here: https://www.e-racing.net/standings/
Just change the numbers in aoColumns[0] by your needs. Number 0 is first column, 1 is second and so on...
About sorting from your link: That is the way the sorting is working for string columns. If you remove that additional information and letters , and change the column type to int you will see that it will sort correctly.
thanks for your reply! I had to some custom CSS to hide the sorting order indicator, but that was no problem :) Is this considered as an option in your next release? Would be much easier!
Hi,
I'd like to disable sorting for certain columns. Is there any option that provides this function?
Background: I have some string columns, which mostly contain numbers, but could also contain some additional information. The result: the sorting algorithm doesn't sort correctly. You can see it here: https://www.e-racing.net/standings/
Best regards
Sven
Hi Sven,
Thank you for your purchase.
You can add this code on page where your table is located:
Just change the numbers in aoColumns[0] by your needs. Number 0 is first column, 1 is second and so on...
About sorting from your link:
That is the way the sorting is working for string columns.
If you remove that additional information and letters , and change the column type to int you will see that it will sort correctly.
Best regards.
Kind Regards,
Miloš Jovanović
[email protected]
Rate my support
Try our FREE mapping plugin! MapSVG - easy Google maps, interactive SVG maps and floor plans, choropleth maps and much more - https://wordpress.org/plugins/mapsvg-lite-interactive-vector-maps/
wpDataTables: FAQ | Facebook | Twitter | Instagram | Front-end and back-end demo | Docs
Amelia: FAQ | Facebook | Twitter | Instagram | Amelia demo sites | Docs | Discord Community
You can try wpDataTables add-ons before purchasing on these sandbox sites:
Powerful Filters | Gravity Forms Integration for wpDataTables | Formidable Forms Integration for wpDataTables | Master-Detail Tables
Hi Bogdan,
thanks for your reply! I had to some custom CSS to hide the sorting order indicator, but that was no problem :)
Is this considered as an option in your next release? Would be much easier!
Best regards
Sven
Hi Sven,
This feature will be included for the upcoming update, no need to worry
Best regards.
Kind Regards,
Miloš Jovanović
[email protected]
Rate my support
Try our FREE mapping plugin! MapSVG - easy Google maps, interactive SVG maps and floor plans, choropleth maps and much more - https://wordpress.org/plugins/mapsvg-lite-interactive-vector-maps/
wpDataTables: FAQ | Facebook | Twitter | Instagram | Front-end and back-end demo | Docs
Amelia: FAQ | Facebook | Twitter | Instagram | Amelia demo sites | Docs | Discord Community
You can try wpDataTables add-ons before purchasing on these sandbox sites:
Powerful Filters | Gravity Forms Integration for wpDataTables | Formidable Forms Integration for wpDataTables | Master-Detail Tables