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
275
CellMultiline.Yes causes other controls to stretch in an ugly fashion
posted

I'm writing a grid that does in-grid editing.  So on some columns I'm using ColumnType.DropDownList, on others ColumnType.Custom with a WebDateChooser or a WebNumericEdit.  However, I also have a column that has CellMultiline set to Yes.  If I enter more than one row of data in that cell, the other custom controls start to get stretched out.  For example, the WebDateChooser's dropdown arrow is just as narrow as before, but the height is now 100 or 200 pixels.  I also have the RowStyleDefault.VerticalAlign set to Top, so when I use the drop down, it is centered in the middle of the cell, while the data in the grid is aligned at the top, so I can see two copies of the data.  I've tried changing the style of the controls, but that doesn't seem to work.

Is there some way to prevent the controls from stretching to the full height of the cell, and to control where they appear in the cell?

Parents Reply Children
No Data