This project is read-only.

Scrollbar width and height are larger than Grid width and height

Mar 8, 2015 at 4:17 AM
Hello,

I am using a SourceGrid.Grid control and have noticed that when the grid is populated with a bunch of data, the scrollbar (both vertical and horizontal) go past the last row or column of data in the Grid.

This is when I set grid1.AutoStretchColumnsToFitWidth = true; and grid1.AutoStretchRowsToFitHeight = true; as well as grid1.AutoSizeCells();

Is there a way that I can get the scrollbars to scroll only to the last row/column of data and not beyond?

Thanks in Advance!