yadcf order number in dropdown menu
yadcf order number in dropdown menu
mbenci
Posts: 11Questions: 6Answers: 0
Dear all,
I have a dropdown menu in yadcf filter with some numbers. I'd like that the numbers to be sorted from the smallest to the largset (1, 2, 3, 4, 5, 6 etc). But now the number 10,11,12 are before than number 2 (1,10, 11, 12, 2, 3 etc).
Is there a way to order appropriately?
Thanks and regards,
Marco B
This discussion has been closed.
Answers
http://yadcf-showcase.appspot.com
Read about sort_as and sort_order in the yadcf js file (for whom did I wrote the doc and built the showcase ? :) go through the docs / showcase) in order to become a master of yadcf you must learn... :)
Good luck...