yadcf order number in dropdown menu
yadcf order number in dropdown menu
![mbenci](https://secure.gravatar.com/avatar/2cf21b16b6037213dfe10b3ba32df3d0/?default=https%3A%2F%2Fvanillicon.com%2F2cf21b16b6037213dfe10b3ba32df3d0_200.png&rating=g&size=120)
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...