Is it possible to sort a RadComboBox's items alphabetically via client-side scripting? I didn't see anything in the API showing this type of functionality.
3 Answers, 1 is accepted
0
Simon
Telerik team
answered on 23 Dec 2010, 07:10 AM
Hi digitall,
RadComboBox does not provide means of sorting its Items on the client side. Please use a sorting algorithm, such as Quicksort, to sort the client-side RadComboBoxItem objects.
Do you have any examples of using something like that for this purpose? I've never heard of that algorithm before.
0
Simon
Telerik team
answered on 27 Dec 2010, 01:04 PM
Hello digitall,
The Quicksort algorithm is one of the most popular sorting algorithms. I suggest you choose the one that best suits you and use it to sort the RadComboBoxItemCollection by using its API.