Hi All,
Is it possible to add multiple columns to the dropdown of an UltraComboEditor? I know that it can be done for an UltraCombo object by adding a band to its DisplayLayout.BandSerializer collection but I can't see any obvious way of doing this for an UltraComboEditor.
Thanks in advance,
Denis
Hi Denis,
Why not use an UltraComboEditor in this case, then? If you are hiding the dropdown button and you are going to show your own dropdown, anyway, then you don't really need the UltraCombo's ability to display multiple columns. UltraComboEditor has AutoSuggest capability.
Hi Mike,
I actually am using the dropdown in a grid however what I need to do is hide the dropdown button and then add my own custom button.
Essentially what I am trying to design is a type of walker control, i.e. an editor which behaves like a dropdown with AutoComplete mode set to 'Suggest' when text is being entered in the text area, then if the editors button is clicked it will open a seperate custom window. The only possible way I can think of doing this is to somehow override the dropdown buttons Click event but that probably isn't possible??
I don't see any way to do this for the WinCombo control. That seems to be something of an oversight. You should probably Submit an incident to Infragistics Developer Support and report this as a bug (although they may decide it's a feature request).
If you are using a dropdown in a grid, you can use the ButtonDisplayStyle property on the column to turn off the buttons. But that doesn't help with the standalone control.
Thanks Vince,
One other thing you may be able to help me with. I don't want to display the dropdown button on the WinCombo. When using a WinComboEditor I can just set the DropDownButtonDisplayStyle to ButtonDisplayStyle.Never, is there someway I can acheive this for a WinCombo?
Denis.
WinComboEditor can only display a single column at a time, as does a ValueList. You will need to use either WinDropDown or WinCombo control instead.
The following article from our online Knowledge Base may prove helpful, if you're planning on putting your WinComboEditor (or other drop-down interface) in WinGrid:HOWTO: What is the best way to place a DropDown list in a grid cell?