I have an unbound DataGridView control that has some cells that may contain
more multi-line text than can be completely displayed in the available
screen space. When the height of a row exceeds the DataGridView's height, it
becomes impossible to view the out of sight portion of the row that is below
the DataGridView's client area. Down arrow of the text cursor simply moves
the caret down out of sight. Contrary to expectations, the DataGridView's
scroll bar doesn't smoothly scroll. It just jumps the next row into view and
the problematic row is scrolled out of view.
Is it possible to provide a scroll mechanism that will bring into view those
areas of a cell that are out of view and, if so, how?

Signature
Richard Lewis Haggard
www.Haggard-And-Associates.com
Ciaran O''Donnell - 28 Mar 2007 00:07 GMT
An idea is to add the datagridview to a scrollable control like a panel. Then
you could use the scrolling of the panel which would be unaware of the row
height and would scroll normaly. The only issue would be tracking the caret
to ensure it stays visible.

Signature
Ciaran O''Donnell
http://wannabedeveloper.spaces.live.com
> I have an unbound DataGridView control that has some cells that may contain
> more multi-line text than can be completely displayed in the available
[quoted text clipped - 7 lines]
> Is it possible to provide a scroll mechanism that will bring into view those
> areas of a cell that are out of view and, if so, how?