Skip to Content
Former Member
Feb 05, 2014 at 06:48 AM

How to sort DropDownList by Value instead of Key


Hi Gurus,

I am just wondering is there a way to sort the drop down list by text or description instead of key.

Sorting the internal table would not help as it will return a short dump for sorting a sorted table.

So, any help in this?

I am using the following view element and coding to populate the drop down values.

The view element:-

The codes:-


DropDownByKey.png (16.0 kB)
Codes.png (30.1 kB)