Hi Guys,
I need to implement a control that I've described in subject.
For this purpose I've chosen UltraCombo. The problem is that when I set column style to ColumnStyle.FormattedText for highlighting inputed symbols, code for word wrapping such as
private void ultraCombo1_InitializeLayout(object sender, InitializeLayoutEventArgs e) { e.Layout.Override.CellMultiLine = DefaultableBoolean.True;
e.Layout.Bands[0].Override.RowSizing = RowSizing.AutoFree }
or
private void ultraCombo1_InitializeLayout(object sender, InitializeLayoutEventArgs e) { e.Layout.Bands[0].Columns["My Column"].CellMultiLine = DefaultableBoolean.True;
doesn't work
but
private void ultraCombo1_InitializeLayout(object sender, InitializeLayoutEventArgs e) { e.Layout.PerformAutoResizeColumns(false, PerformAutoSizeType.AllRowsInBand); }
still works and I can get autoresizing for my columns but I need word wrapping and can not understand why it doesn't work when I set ColumnStyle.FormattedText. When this param was default, everything was fine and word wrapping works perfect.
Also I'm interesting why when we set AutoCompleteMode as Suggest and AutoSuggestFilterMode as Contains for UltraComboEditor, we take highlighting symbols in auto-suggested rows and if we set same properties for UltraCombo, we don't take this feature. Is it possible to do for UltraCombo. If it it, the first question won't be valid.
Hope to take at least answer for one my question, so I could be able to implement auto-suggest control with word wrapping and columns.
Thanks in advance,
Eugenij.
Hello,
Please see attached sample and let me know if this is what you are looking for. The sample also demonstrates a suggest mode like “Contains any of”. Please run the sample and type “new se” in the combo. If you do not need this type of suggestion mode, please comment code in TextChange event of UltraCombo and set AutoCompleteMode and AoutoSuggestMode to desired values.
Please let me know if you have any further questions.
Not at all. I've attached a screenshot where is shown a behavior of current control when I change for e.g. record "New York" to "New Yorkkkkkkkkkkkkkkkkk12". I mean, I need word wrapping for records that don't placed into cell and this implementation can not do this feature.