Problem sorting "number_1 - number_2" column.
Problem sorting "number_1 - number_2" column.
lorenzoat
Posts: 3Questions: 0Answers: 0
Hi,
In the following url: "http://www.rlmm.org/ojs-files/search.php" , you will find the table page using Datatables...
I have been trying to sort the last column (pages), but it has been impossible. This column is tricky, why:
1.- It will be fill with hyphenated numbers (pages), ex: 20-29
2.- It could be empty.
This is the debub code: ajabis
I have been trying several answers from others topics and questions here at the forum..
I appreciate all the help I could receive..
Thanks for you splendid work,
Best Regards,
Tom
In the following url: "http://www.rlmm.org/ojs-files/search.php" , you will find the table page using Datatables...
I have been trying to sort the last column (pages), but it has been impossible. This column is tricky, why:
1.- It will be fill with hyphenated numbers (pages), ex: 20-29
2.- It could be empty.
This is the debub code: ajabis
I have been trying several answers from others topics and questions here at the forum..
I appreciate all the help I could receive..
Thanks for you splendid work,
Best Regards,
Tom
This discussion has been closed.
Replies
http://datatables.net/development/sorting - how to write sorting plug-ins
http://datatables.net/plug-ins/sorting - premade plug-ins
Allan
Thanks for your answer. I used the natural sorting plug-in and it is working flawlessly...
Regards,
Allan