Any advise on how can I sort Drop Down list lookup.
I created an integer field for sorting and I need to sort the list accordingly.
Like
Dear Oren,
You can add the "order" attribute for every field that you need to sort to the edit page schema where the field is located.
In the following example we created the integer "UsrSorting" field in the lookup UsrTestLookup1 and copied the values from the "Name" field there.
attributes: {
"UsrTestLookup1": {
lookupListConfig: {
orders: [
{
columnPath: "UsrSorting",
direction: Terrasoft.OrderDirection.ASC
}
]
}
}
},
The result - https://prnt.sc/kg62ci
Best regards,
Dean