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
360
DropDown Value list text width
posted

I have a grid with a dropdown defined for a column.  The propblem I'm having is when the dropdown is displayed the text is the dropdown list is being cut off.  The dropdown control width diplays correctly.  I've attacted a screen shot so you can see whats happening. 

 

John

 

 

 

  • 469350
    Verified Answer
    Offline posted

     Hi John,

    The width of the dropdown in this case is not really what you want. What you need to do is adjust the width of the Column in the dropdown. The DropDown is just like a grid in that respect. So you can use the InitializeLayout event of the dropdown and call something like:

    e.Layout.Bands[0].Columns[0].PerformAutoResize(AllRowsInBand);