Hi,
I have a table with hierarchical structure (table fields: CustomerGuid(rowguid),....,ParentGuid(nullable)).
I'm trying to use self-referencing gridview to show this data by using the xaml lines below.
<telerik:RadGridView.ChildTableDefinitions>
<telerik:GridViewTableDefinition>
<telerik:GridViewTableDefinition.Relation>
<telerikData:TableRelation IsSelfReference="True">
<telerikData:TableRelation.FieldNames>
<telerikData:FieldDescriptorNamePair
ParentFieldDescriptorName="CustomerGuid"
ChildFieldDescriptorName="ParentGuid"/>
</telerikData:TableRelation.FieldNames>
</telerikData:TableRelation>
</telerik:GridViewTableDefinition.Relation>
</telerik:GridViewTableDefinition>
</telerik:RadGridView.ChildTableDefinitions>
This pattern works well. But I want rows (or entities) with ParentGuid to be shown only in child table (not more than once). Is it possible?
Thanks in advance...