Expand my Community achievements bar.

SOLVED

How to sort the dropdown list

Avatar

Level 2

How can I alphabetize the dropdown list.Please suggest.

1 Accepted Solution

Avatar

Correct answer by
Level 2

Hi All,

I am able to sort the list by adding propery sortDir='ASC'. 

 

Thanks a lot for the help provided.

 

Regards,

Rachana

View solution in original post

5 Replies

Avatar

Level 8

Hi Rachana,

Could you please specify what tool you are using?

Regards

Rahul

Avatar

Community Advisor

Hi Rachna,

what is the source of your dropdown list?

  • Is it generated dynamically?
  • Or is it the static list?

Basically how are u getting the values for your dropdown?

- Runal

Avatar

Level 2

Hi Runal,

 

It is a static list(listed under "options")

Avatar

Correct answer by
Level 2

Hi All,

I am able to sort the list by adding propery sortDir='ASC'. 

 

Thanks a lot for the help provided.

 

Regards,

Rachana