Question
How to apply custom sorting to a MultiSelect Lookup in Freedom UI?
04:06 Apr 22, 2026
Hello Community,
I'm struggling with the MultiSelect Lookup component in Freedom UI. I need to sort the available options in the dropdown by a specific Integer column (NcsOrden) instead of the default Name column.
I've already successfully implemented the Predefined Filter in the viewModelConfigDiff to filter the records, but I can't find a way to change the sort order.
What I've tried so far:
- crt.LoadDataRequest Handler: Adding a
type: "sorting"object torequest.parameters. This triggers aTypeErrorregarding a'type'property being undefined in the core JS. - viewModelConfigDiff: Adding
sortingConfigto the attribute. This causes the page to crash with aTypeErrorin_loadStaticModel.
Has anyone successfully managed to sort a MultiSelect list by a column other than the Primary Display Column? If this is not currently supported via No-Code or standard Handlers, what would be the recommended approach?
Thanks in advance!
Julio Falcon
Like
0 comments