private void fpSpread1ChildViewCreated(object sender, FarPoint.Win.Spread.ChildViewCreatedEventArgs e)
{
FarPoint.Win.Spread.Model.DefaultSheetDataModel dm;
dm = e.SheetView.Models.Data;
int i;
i = dm.ParentRowIndex;
MessageBox.Show("The index of the parent row is " + i.ToString());
}
Private Sub FpSpread1ChildViewCreated(ByVal sender As Object, ByVal e As FarPoint.Win.Spread.ChildViewCreatedEventArgs) Handles
fpSpread1.ChildViewCreated
Dim dm As FarPoint.Win.Spread.Model.DefaultSheetDataModel
dm = e.SheetView.Models.Data
Dim i As Integer
i = dm.ParentRowIndex
MessageBox.Show("The index of the parent row is " & i.ToString())
End Sub