Spread for ASP.NET 12 Product Documentation
GetChildView Method


FarPoint.Web.Spread Assembly > FarPoint.Web.Spread Namespace > SheetView Class : GetChildView Method
Row whose child sheet is to be created
Index to the data relation collection
Gets a child sheet in a hierarchical display for the specified row and the specified relation index.
Syntax
'Declaration
 
Public Overridable Function GetChildView( _
   ByVal row As Integer, _
   ByVal relationIndex As Integer _
) As SheetView
'Usage
 
Dim instance As SheetView
Dim row As Integer
Dim relationIndex As Integer
Dim value As SheetView
 
value = instance.GetChildView(row, relationIndex)
public virtual SheetView GetChildView( 
   int row,
   int relationIndex
)

Parameters

row
Row whose child sheet is to be created
relationIndex
Index to the data relation collection

Return Value

SheetView object
Exceptions
ExceptionDescription
Specified sheet does not support a child view
Specified row is not valid; row index must be between 0 and the number of rows
Specified relation is not valid; relation index must be between 0 and the number of child relations in the collection
See Also

Reference

SheetView Class
SheetView Members