Version

TransformFlatToHierarchicalData Method

Transform flat to hierarchical data(it should be set PrimaryKey, ForeignKey). Grid model should have property property name defined in "ChildDataKey".
Syntax
'Declaration
 
Public Function TransformFlatToHierarchicalData( _
   ByVal queryable As System.Linq.IQueryable, _
   Optional ByVal parentRow As System.Object, _
   Optional ByVal dataLevel As System.Integer, _
   Optional ByVal fkCol As GridColumn _
) As System.Collections.IList
public System.Collections.IList TransformFlatToHierarchicalData( 
   System.Linq.IQueryable queryable,
   System.object parentRow,
   System.int dataLevel,
   GridColumn fkCol
)

Parameters

queryable
Flat data
parentRow
Parent data record
dataLevel
fkCol
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