Append DataGrid inside of DataGrids RowDetailsTemplate

Posted by 108980470541437452574 on Stack Overflow See other posts from Stack Overflow or by 108980470541437452574
Published on 2010-05-25T17:19:26Z Indexed on 2010/05/25 17:21 UTC
Read the original article Hit count: 163

Filed under:
|

this appears to bind, but rows in Details Grid are empty. Something is off/missing?

I've also tried {Binding SubCustomers}

SubCustomers is a List on parent object.

I am able to bind this way to single Fields such as FirstName etc.. just not the subcollection..

        <DataGrid.RowDetailsTemplate>
            <DataTemplate>
                <DataGrid AutoGenerateColumns="True" ItemsSource="{Binding Source=SubCustomers}" />
            </DataTemplate>
        </DataGrid.RowDetailsTemplate>

© Stack Overflow or respective owner

Related posts about wpf

Related posts about wpfdatagrid