How to sort the dropdown list | Community
Skip to main content
This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Best answer by RachanaS

Hi All,

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

 

Thanks a lot for the help provided.

 

Regards,

Rachana

5 replies

Rahsing
October 16, 2015

Hi Rachana,

Could you please specify what tool you are using?

Regards

Rahul

RachanaS
RachanaSAuthor
October 16, 2015

Hi Rahul,

It is in AEM6.

Runal_Trivedi
October 16, 2015

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

RachanaS
RachanaSAuthor
October 16, 2015

Hi Runal,

 

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

RachanaS
RachanaSAuthorAccepted solution
October 16, 2015

Hi All,

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

 

Thanks a lot for the help provided.

 

Regards,

Rachana