Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
20
DropDown Items in XamMultiColumnComboEditor are not cleared on random text
posted

Hi, I have a scenario where dropdown items are not cleared in XamMultiColumnComboEditor when there is random text in the combo box. 

Steps to reproduce : 

  1. Type any random text in the control. DropDown gets opened and there would be no items.
  2. Now focus out of the control, maybe be pressing tab key.
  3. Now click on the dropdown again without clearing off the search text. You can see items lying in the dropdown, even when they don't match the search text. 

How can I fix this? I want the situation to be like, if the search text dont match any of the items in the itemsSource, then on opening the dropdown, the Items count should be 0.

The situation is very well reproducible in the the below link.

 www.infragistics.com/.../XamMultiColumnComboEditor.zip

Thanks and Regards,

Kaushik.

Parents
No Data
Reply
  • 18204
    Suggested Answer
    Offline posted

    Hello Kaushik,

    Please see the modified sample I have attached that demonstrates how you can achieve this.

    1565.XamMultiColumnComboEditor_modified.zip

    Here, I subscribed to the XamMultiComboEditor's internal TextBox's TextChanged event.  This allows us to manually filter the ItemSource with any custom logic.

    With the current implementation I am using, when selecting multiple items, the text will clear out and not deselect any items.  You should tweak the algorithm for filtering the data to meet all your specific needs.

    If you need further assistance with this, please let me know.


    Sincerely,
    Michael H.
    Software Developer
    Infragistics, Inc.
    www.infragistics.com/support

Children