use following code to get selection:
[c#]
private Node[] GetSelection(FlyGrid flyGrid)
{
if ((flyGrid.Options & GridOptions.MultiSelect) != 0)
{
NodeBase[] selection = flyGrid.Rows.GetSelection();
//has multiple selection
if (selection != null && selection.Length > 0)
return selection;
}
//has single selection - selected/focused node
return new NodeBase[]{flyGrid.Selected};
}