multiComboFilter: how to show suggest options in specific order

Hi!

I am trying to customize the awesome multiComboFilter. Check this sample. multiComboFilter options are shown in alphabetical order. Is it possible to show the options in a specific order? (actually, the one set in the options field: ["Red", "Orange", "Yellow", "Green"])

Thanks in advance!

1 Like

Hi!

collectValues (by calling inner _collectValues) does the sorting, so you will need to redefine this method.

https://snippet.webix.com/o1u05vqm

Thanks for the answer, it works :slight_smile: