You can use the FlyGrid.ActivePort.EnsureVisible method to make node visible.
This example shows how to show (scroll to) last or first row in the FlyGrid by using EnsureVisible method.
private void ShowNode(FlyGrid flyGrid, Nodebase node)
{
flyGrid.ActivePort.EnsureVisible(node);
}
private void ShowRow(FlyGrid flyGrid, int row)
{
NodeBase rowNode = flyGrid.Rows.GetNodeFromRow(row);
ShowNode(flyGrid, rowNode);
}
private void ShowLastNode(FlyGrid flyGrid)
{
ShowRow(flyGrid, flyGrid.ActivePort.RowCount-1);
}
private void ShowFirstNode(FlyGrid flyGrid)
{
ShowRow(flyGrid, 0);
}