Version

GetAncestors Method

Gets the ancestors for the specified record. For the grid model it should have processed data and properties flatData and FlatVisibleData should be populated
Syntax
'Declaration
 
Public Function GetAncestors( _
   ByVal record As System.Object, _
   ByVal grid As TreeGridModel _
) As System.Collections.Generic.List(Of Object)
public System.Collections.Generic.List<object> GetAncestors( 
   System.object record,
   TreeGridModel grid
)

Parameters

record
Finds ancestors for the specifies record.
grid
The tree grid model(property Data Level should be populated and the data should be processed - dataLevel for each record should be set).
Requirements

Target Platforms: Windows 8.1, Windows 8.1, Windows 8, Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

View on GitHub