WrapMode in DataGridView

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • travisj

    WrapMode in DataGridView

    This should be fairly simple one. When displaying a text field in a
    datagridview control, one can set the DefaultCellStyl e wrap mode to
    true so that text, that does not fit within the width of the cell will
    wrap to the next line. When set along with AutoSizeRowsMod e to
    AllCells this works fine in most instances. However some pieces of
    text may not contain any spaces. In these instances the text will not
    wrap (where to break it up?). So my question is this: how does one go
    about specifying additional characters after which it is desired to
    insert line breaks?

Working...