Use following code, with using FlyGrid.EnsureVisible method that has been included into FlyGrid.Net since v1.2.9:
[C#]
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);
}