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
1910
MultiLine turns into single line in the grid
posted

I have a webgrid with a column that is tied to a WebCombo. The combo has items in it that are multiline and they display perfectly when choosing from the list, but when it displays it in the WebGrid, it just wraps the text...it doesn't keep the multiline. I have the MultiLine on for the column itself.

Parents
  • 820
    posted

    Try this

    e.Layout.Bands[0].Columns[ITEM_DESCR].CellMultiline = CellMultiline.Yes;

    e.Layout.Bands[0].Columns[ITEM_DESCR].CellStyle.Wrap =

    false;

    -Ani

Reply Children
No Data