I need to know how can I do in RadMultiColumnComboBox to Find a row by text (displaymember) or by value (valuemember) for next selecting it , and can you help me with an example?
thanks
3 Answers, 1 is accepted
0
Nick
Telerik team
answered on 16 Feb 2009, 01:04 PM
Hello Aldemar,
Thank you for your question. You have to get the RadGridView that presents the data in the RadMultiColumnComboBox and scroll to the desired row:
Ok, but my question is because I wanted to know which method is similar to RadComboBox.FindExactItem(string) and RadComboBox.FindItem(string) both of them return index of localized item, so how to achieve it in similar way by using radMultiColumnComboBox
thanks
0
Nick
Telerik team
answered on 18 Feb 2009, 10:54 AM
Hi Aldemar,
Unfortunately, the answer to this question is that there is no such method.
You have to write your custom logic and we will can help you doing so. As I demonstrated you can get the grid inside the multicombobox and then you can use all the grid functionality available. For searching, you will have to traverse all rows. I have already demonstrated ScrollTo method and suggested that you may need IsCurrent property to make a row current. Please read this section from our documentation and the topics about the RadGridView in general. Do not hesitate to write me back if you have more questions.