c1ComboBox sorting

Posted by: goran.plavac on 24 September 2018, 6:15 pm EST

    • Post Options:
    • Link

    Posted 24 September 2018, 6:15 pm EST

    Is there sorted property for combobox?

  • Posted 26 September 2018, 7:18 am EST

    Hello,

    There is no direct sorting related property for C1ComboBox items. However, you can do the same in various ways:

    1. You can use the Sort method of List for unbound C1ComboBox, after adding the C1ComboBox items to that list.
    2. If the C1ComboBox is bound to a DataTable, you can use the DefaultView.Sort property of the DataTable to set the sort columns.

    These have been implemented in the attached sample.

    Let me know if you need further assistance.

    Best Regards,

    Esha

    C1Combobox_SortItems.zip

  • Posted 26 September 2018, 10:24 am EST

    Thanx.

Need extra support?

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

Learn More

Forum Channels