Spread ASP.NET 17
FarPoint.Web.Spread Assembly / FarPoint.Web.Spread.Model Namespace / DefaultSheetDataModel Class / GetChildDataModel Method
Row whose child data model is to be returned
Data relation name
Example


In This Topic
    GetChildDataModel Method (DefaultSheetDataModel)
    In This Topic
    Gets the data model (ISheetDataModel object) for the specified row and data relation.
    Syntax
    'Declaration
     
    
    Public Function GetChildDataModel( _
       ByVal row As Integer, _
       ByVal relation As String _
    ) As ISheetDataModel
    'Usage
     
    
    Dim instance As DefaultSheetDataModel
    Dim row As Integer
    Dim relation As String
    Dim value As ISheetDataModel
     
    value = instance.GetChildDataModel(row, relation)
    public ISheetDataModel GetChildDataModel( 
       int row,
       string relation
    )

    Parameters

    row
    Row whose child data model is to be returned
    relation
    Data relation name

    Return Value

    ISheetDataModel object containing a sheet data model for the child view
    Example
    This example returns the value of the first cell for the child model.
    See Also