Home - Forums-.NET - FlyGrid.Net (Windows Forms) - grant that the view of a grid is complete covered with rows

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

grant that the view of a grid is complete covered with rows
Link Posted: 05-Nov-2006 23:09
How does it work to draw empty lines to an visible area of a grid as long as there is still place for it.

In other words how could I get informations about the visible area of a  grid.

My motivation is to have a gridview like excel.

Thanks in advance
Link Posted: 06-Nov-2006 04:44
How does it work to draw empty lines to an visible area of a grid as long as there is still place for it.

You can use your own Stylist connected to FlyGrid.Stylist to draw additional lines (use FlyGrid.Rows.DefaultRowHeight, FlyGrid.LineWidth and FlyGrid.LineColor to draw lines) or override FlyGrid.OnPaint procedure.
In other words how could I get informations about the visible area of a grid.

You can use FlyGrid.ActiveRootPort.GetTotalHeight() method to determine total height of the rows displayed + columns headers height and compare with FlyGrid.ActiveRootPort.Bounds.Height