Wj-combo-box order sorted alphabetically

Posted by: kun.leeing on 22 June 2020, 1:38 am EST

    • Post Options:
    • Link

    Posted 22 June 2020, 1:38 am EST

    Hi team,

    does our wj-combo-box have the functionality of getting all items put in alphabetical order?

    Thanks.

  • Posted 23 June 2020, 2:36 am EST

    Hi Kun,

    The ComboBox also uses CollectionView internally to store the data. So, you can add a SortDescription to the ComboBox’s CollectionView and it will sort the data accordingly. Please refer to the demo link below:

    https://www.grapecity.com/wijmo/demos/Input/ComboBox/Objects/SortingAndFiltering/purejs

    Regards,

    Ashwin

  • Posted 23 June 2020, 5:35 am EST

    Thanks so much, Ashwin.

Need extra support?

Upgrade your support plan and get personal unlimited phone support with our customer engagement team

Learn More

Forum Channels