Miko Kronn
Miko Kronn

Reputation: 2454

DataGridView scrolling behaviour

I have a DataGridView which has vertical and horizontal scrollbars.
When I scroll it vertically it is not possible to make any of rows to be partially visible. In other words: scrollbarPosition % rowHeigth == 0 at all times. But when i scroll horizontally DataGridView does not behave this way. Column can be partially visible. How can I make it impossible?

Upvotes: 2

Views: 1051

Answers (1)

SLaks
SLaks

Reputation: 888185

DataGridView was not designed that way.
It's completely impossible, unless you rewrite substantial portions of the control.

Most grid controls, including Excel, Access, and Outlook, as well as most if not all 3rd-party .Net grids, have the same limitation.

Upvotes: 4

Related Questions