Quantcast
Viewing all articles
Browse latest Browse all 7205

How to allow ComboBoxEdit to select multiple items with the autocomplete feature

By default, ComboBoxEdit allows you to select one item using the autocomplete feature.

This example provides a way to enable the behavior when the autocomplete feature works for multiple item selection.

Firstly, it is necessary to create a ComboBoxEdit descendant and override the CreateEditStrategy method, which should return your own ComboBoxEditStrategy class descendant.

Then, override and implement the ProcessChangeText method, and some more methods to enable item auto-searching selection.

For unimpeded search and selection of items without losing input field focus, the set FocusPopupOnOpen property to False.

UPDATE:  In 15.1, we provided this feature out of the box. Please refer to this thread to get more information: Q561698: Provide ComboBoxEdit incremental search functionality


Viewing all articles
Browse latest Browse all 7205

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>