Presenting the DataGridViewLargeTextBoxCell

Today i decided to experiment a bit with custom DataGridViewCell implementations. If you insert large text into a DataGridView it will (at best) wrap the text. I wanted my DataGridView to behave like Excel so that the whole text is displayed. Here are a couple of screenshots of the result:

the large text flows over it's surrounding columns
the editingcontrol is resized to fit the complete text

Feel free to download CustomDataGridViewCells.zip.

  1. Hey Tim,

    Thanks for the head start on this widget. I’ve added to your work for a recent project and thought you might like to see what I’ve done.

    http://www.gowland.ca/datagridviewspanningtextboxcell

Leave a Comment


NOTE - You can use these HTML tags and attributes:
<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>