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
341
Width Resize Ignored in Column 0
posted

When I try to set the width of the first column (the value column) it's ignored. The setting does apply to subsequent columns. Is there a setting I'm missing?  The control's DropDownWidth attribute is set to -1.

myUltraCombo.DataSource = LoadData()

'this is ignored even through there is lots of white space
myUltraCombo.Rows.Band.Columns(0).Width = 50

'this is followed--truncates visible text
myUltraCombo.Rows.Band.Columns(1).Width = 50

Parents
  • 469350
    Suggested Answer
    Offline posted

    Hi Jeff,

    Does it work if you try to make it bigger?

    My guess is that the combo needs more space for the first column because the first column includes the RowSelector.

    Or... this might be an issue because the Combo's data source has more than one band and the combo is leaving space for the child bands - even though the Combo doesn't display child bands. As a test, try setting the combo.DisplayLayout.Override.AllowColSizing to Free before you set the width of the column and see if that helps.

Reply Children
No Data