I want to know if I can sort value in a lookup field. Currently I understand that the fields are alphabetical order but I dont want it to display in that order. I want to change it. Is there any way to do it?
Like
1 comments
18:19 Jun 22, 2023
If this is for a classic page, you can sort the lookup, but the below method only works for dropdown list lookups, not sure how to sort a lookup that pop open the dialog (although I assume that is possible):
// add an attribute with the same name as your lookup column // specify "orders" for which column to sort by attributes: { "UsrTestLookup1": { lookupListConfig: { orders: [ { columnPath: "UsrSorting", direction: Terrasoft.OrderDirection.DESC } ] } } }
If this is a Freedom UI page, not sure, but I don't think you're able to do that yet.
Ryan
Show all comments