Home - Forums-.NET - FlyGrid.Net (Windows Forms) - Change VScroll offset??

FlyGrid.Net (Windows Forms)

.NET Datagrid - Fast, highly customizable, industry standards .NET data grid control for WinForms

This forum related to following products: FlyGrid.Net

Change VScroll offset??
Link Posted: 03-Feb-2006 01:52
Is there a way to make the grid scroll vertically more than one row at a time?  I have a need to make the grid scroll by N rows.  The only property/method I see is SetVertScrollOffset which seems to do nothing.  How come there's no VScroll events?  The only events I can see that allow me to hook into the vertical scrolling are TopRowChange and TopRowChanging.
Link Posted: 03-Feb-2006 03:42
To scroll grid vertically:
[list]
  • you can change FlyGridViewPort.TopRow
    example: flyGrid.ActivePort.TopRow = 10;
  • [/*:m]
  • or use one of the methods-analogues of navigation bar buttons: FlyGridViewPort.ToFirstRow/ToLastRow/ToNextRow/ToPrevRow/ToNextPageRow/ToPrevPageRow
    example: flyGrid.ActivePort.ToNextPageRow();
  • [/*:m]
  • or you can make some node/row visible in the current view by using one of the FlyGridViewPort.EnsureVisible methods
    example: FlyGrid.ActivePort.EnsureVisible(node);
  • [/*:m][/list:u]