Hi
I am currently trying to show two child grids when the user expands the parent row. These two child grids are not related to each other and they are not nested.
Here is an example of the data.
objectA
-- List<ObjectB>
--List<ObjectC>
Parent Grid Shows all the rows for ObjectA => when the user expands the parent row if eityher listA or ListB has any items int he collection.
Currently I have a grid which has one Child grid which works Successfully.
Question : Can I use multiple Child table definitions . Or is there a bettre way to solve this situation
I am currently trying to show two child grids when the user expands the parent row. These two child grids are not related to each other and they are not nested.
Here is an example of the data.
objectA
-- List<ObjectB>
--List<ObjectC>
Parent Grid Shows all the rows for ObjectA => when the user expands the parent row if eityher listA or ListB has any items int he collection.
Currently I have a grid which has one Child grid which works Successfully.
Question : Can I use multiple Child table definitions . Or is there a bettre way to solve this situation
<telerik:RadGridView
x:Name=
"ListAGridView"
Margin=
"5,5,5,5"
MinHeight=
"100"
MaxHeight=
"200"
IsReadOnly=
"True"
SelectionMode=
"Extended"
AutoGenerateColumns=
"False"
ShowGroupPanel=
"False"
RowIndicatorVisibility=
"Collapsed"
SelectionChanged=
"UsageGridView_SelectionChanged"
ItemsSource=
"{Binding Path=Usages, Mode=OneWay}"
SelectedItem=
"{Binding Path=SelectedUsage, Mode=TwoWay}"
HierarchyChildTemplate=
"{StaticResource UsagesChildTemplate}"
>
<i:Interaction.Behaviors>
<Behaviors:RadGridRowExpandableBehavior IsExpandableSourcePropertyName=
"ListB.Count"
/>
</i:Interaction.Behaviors>
<telerik:RadGridView.ChildTableDefinitions>
<telerik:GridViewTableDefinition>
<telerik:GridViewTableDefinition.Relation>
<Data:PropertyRelation ParentPropertyName=
"ListB"
/>
</telerik:GridViewTableDefinition.Relation>
</telerik:GridViewTableDefinition>
..../>