alphabeticly sort items in REF-Dropdown

hi everyone,

how can i alphabeticly sort items of dropdown?

a) child-Table: dropdown of column "Street" (items comming from parent-table ...)

Asheetbogo_0-1673348058696.png

b) column: "Street" of child-table is connected with "REF" to column "Street" of parent-table:

Asheetbogo_1-1673349109735.png

c) parent-table:

Asheetbogo_2-1673349220409.png

how can i alphabeticly sort items of dropdown?

thank`s in advance for any help!

 

Solved Solved
0 3 262
2 ACCEPTED SOLUTIONS

In the child table's reference column [DD_Street[, please have the following expression in the valid_if setting

ORDERBY(DD_DropDownParent[DD_UniqueID], [DD_Street], TRUE)  for sort descending 

ORDERBY(DD_DropDownParent[DD_UniqueID], [DD_Street], FALSE) for sort ascending

ORDERBY() - AppSheet Help

 

View solution in original post

Aurelien
Google Developer Expert
Google Developer Expert

Hi @Asheetbogo 

You may want to use an ORDERBY() function in the Valid_If field of the column.

For reference:

ORDERBY() - AppSheet Help

and with a quick search:

https://www.googlecloudcommunity.com/gc/forums/searchpage/tab/message?advanced=false&allow_punctuati...

 

 

View solution in original post

3 REPLIES 3

In the child table's reference column [DD_Street[, please have the following expression in the valid_if setting

ORDERBY(DD_DropDownParent[DD_UniqueID], [DD_Street], TRUE)  for sort descending 

ORDERBY(DD_DropDownParent[DD_UniqueID], [DD_Street], FALSE) for sort ascending

ORDERBY() - AppSheet Help

 

Aurelien
Google Developer Expert
Google Developer Expert

Hi @Asheetbogo 

You may want to use an ORDERBY() function in the Valid_If field of the column.

For reference:

ORDERBY() - AppSheet Help

and with a quick search:

https://www.googlecloudcommunity.com/gc/forums/searchpage/tab/message?advanced=false&allow_punctuati...

 

 

Hi @Suvrutt_Gurjar,
Hi @Aurelien,
thank you very much for hint with  "Valid_If" field - i have tested it out - it works perfekt!

Top Labels in this Space