Hi I have a scenario wherein I am displaying data in my drop down by

Hi

I have a scenario wherein I am displaying data in my drop down by fetching the values from DB via. query rule or query entity. Now I want to display data in the drop down in a sorted form and I am not using sorting in my query rule or the a!sortInfo in the paginInfo of my a!query entity. Is there a way I can do it?


Thanks in advance.

OriginalPostID-208782

OriginalPostID-208782

  Discussion posts and replies are publicly visible

Parents
  • stefanh791 there is still some confusion from my end.

    Please correct me if I am wrong:

    With
                                  merge(ri!users, apply(rule!APN_displayUser(user:_), ri!users))
    You are creating an array which is a combination of usernames and user display
    names.

    This array is what goes to the sub rule's item attribute. Then from where is sort attribute getting value from on which a!sortInfo() is working?
Reply
  • stefanh791 there is still some confusion from my end.

    Please correct me if I am wrong:

    With
                                  merge(ri!users, apply(rule!APN_displayUser(user:_), ri!users))
    You are creating an array which is a combination of usernames and user display
    names.

    This array is what goes to the sub rule's item attribute. Then from where is sort attribute getting value from on which a!sortInfo() is working?
Children
No Data