|
-
Dec 13th, 2010, 04:03 AM
#1
Thread Starter
Fanatic Member
datagrid2 within datagrid1
Hi,
In the following xaml, you see that I am showing the Address field when a row of datagrid is clicked on.
Question:
I have a datagrid2 which I would like to be placed instead of the Address field.
At present I am using the event:
datagrid1_RowDetailsVisibilityChanged to populate datagrid2 for the selected row in datagrid1
How do I replace the address field with the datagrid2 please? Can I place something like <datagrid2></datagrid2> instead of the <TextBlock Text="{}"... ?
Thanks
<data ataGrid.RowDetailsTemplate>
<DataTemplate>
<Border>
<Border>
<TextBlock Text="{Binding Address}" TextWrapping="Wrap"></TextBlock>
</Border>
</Border>
</DataTemplate>
</data ataGrid.RowDetailsTemplate>
-
Dec 13th, 2010, 10:46 AM
#2
Re: datagrid2 within datagrid1
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|