Have a combo box where I am dynamically hiding and unhiding rows so they will not show/show for selection. This works OK when you click the drop down button, but when you type a selection in the box the item shows even if the row is hidden and this is not what I want, I would like the same behavior as in dropping down the list. I bet is possible, but I didn't find anything until now.
Thanks,
Mihail
Hello,
Which exactly version of Infragistics you are using ? I have tested your scenario with Infragistics 12.2 and was not able to reproduce your issue, please see attached sample. As you could see only odd items are visible in the dropdown, so when you start writing into the combo again only from odd item you get suggestions.
Please let me know if you have any further questions or I am missing something.
Not so sure why is happening, but it does. I ran your example with v11.2 (my version) and it works exactly like mine - as you type the suggestions are showing the rows that are NOT hidden. So far so good. BUT if you type all the way to the end the item that is hidden and step out of the combo, it is a valid selection. Type 000 in your case and it is valid. I would like to be able to not do this. Is this possible? Is there an event beside EditItem that I can use to do this?
Hello ,
So what you could do in your case is to set LimitToList property of UltraCombo to True, in order to prevent customer to leaves the component, if he types an item that is not belongs to the drop down list. Also you should handle Validating event in order to cancel this event if the user has selected an item that belongs to a hidden row. Please see attached sample.
Please let me know if you have any further questions.
Hello,
I am just checking about the progress of this issue. Let me know If you need any further assistance on this issue?
Thank you for using Infragistics Components.
Thanks for checking Hristo. You are right, the only way to don't let the user step out of the combo box when s/he types an hidden row is to validate and check if the row is hidden, otherwise the combo thinks that the item is in its list. Thank you for your help.