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
1060
MultiLine in DropDown Single Line in Display Member why ?
posted

I have the following problem.

Using a UltraCombo, I am able to display an Image and some text.

In the InitializeRow I use this

     e.Row.Cells(KEY_CodeDescription).Value = String.Format("{0} {1}", C.Code, C.Description) & Space(1) & vbCrLf & String.Format("{0}", f.Nom)

To populate the dropdown list.  I get 2 lines which is what I want.

I also do this in the InitializeRow.. at the end...e.Row.Height = 50

In the initializeLayout i have added


e.Layout.Bands(0).Override.RowSizing = RowSizing.AutoFree
e.Layout.Bands(0).Override.RowSizingArea = RowSizingArea.EntireRow
e.Layout.AutoFitStyle = AutoFitStyle.ResizeAllColumns

e.Layout.Override.ColumnAutoSizeMode = ColumnAutoSizeMode.VisibleRows

e.Layout.Override.CellMultiLine = DefaultableBoolean.True
e.Layout.Bands(0).Columns(KEY_CodeDescription).CellMultiLine = DefaultableBoolean.True

 

 

However the display area shows everything in the same line.

Any ideas ?