Auto-complete box - turn off sorting
Hi
I am using a web service query to populate an auto-complete box - this does a speical sort and returns the items in the order I want them displayed. However the list is then sorted into alphabetical order by the box.
I set the order of the items as
14 Tobago Way
1/14 Tobias Avenue
2/14 Tobias Avenue
14 Tobin Avenue
but the list is displayed as
1/14 Tobias Avenue
14 Tobago Avenue
14 Tobin Avenue
2/14 Tobias Avenue
Is there any way to turn off the sort in the auto-complete box?
Chris Egan
0
-
I don't think so. The autocomplete box is doing what it's designed to do: returning all possible results in alphabetical order based on what you type. Other form elements like combo and list boxes respect sort orders because they have input data arguments, which read the list you created in the order you specified. 0
Bitte melden Sie sich an, um einen Kommentar zu hinterlassen.
Kommentare
1 Kommentar