Hello
I'm trying to see the details of the invoices when I select the line of one of them.
For this I created a datagrid with invoices.
After I added a DataGrid.rowdetailstemplate where i define the fields i want to appear when I select an invoice.
When I select one of them with the header line appears but the invoice lines do not appear.
I've tried several ways and I can't get them to appear.
I don't know exactly when and how you have to load the information of the details.
Can someone help me?
Thank you.
Thanks for your help.
I'm testing the features that send me in this last example.
Then tell what the final result.
Hello
I'm trying to see the details of the invoices when I select the line of one of them.
For this I created a datagrid with invoices.
After I added a DataGrid.rowdetailstemplate where i define the fields i want to appear when I select an invoice.
When I select one of them with the header line appears but the invoice lines do not appear.
I've tried several ways and I can't get them to appear.
I don't know exactly when and how you have to load the information of the details.
Can someone help me?
Thank you.
Good morning
I hope the year 2016 brings you everything you wished for.
I'm having a problem with the example of the datagrid within datagrid.
Everything works fine but when the second datagrid (interior) has many lines can't do scroll down.
Scroll bar appears but just the top.
I beg help for this issue.
By the way: how to programmatically change the size of a field?
Thanks
Hello
I'm trying to see the details of the invoices when I select the line of one of them.
For this I created a datagrid with invoices.
After I added a DataGrid.rowdetailstemplate where i define the fields i want to appear when I select an invoice.
When I select one of them with the header line appears but the invoice lines do not appear.
I've tried several ways and I can't get them to appear.
I don't know exactly when and how you have to load the information of the details.
Can someone help me?
Thank you.
Hi
Define a MaxHeight property for the second datagrid
...
<DataGrid.RowDetailsTemplate>
<DataTemplate>
<DataGrid
x:Name="ordGrid"
MaxHeight="200"
ItemsSource = "{Binding Path = custOrders}"
...
So if necessary a separate scrollbar will be created for the second datagrid
Regards
Werner Lanter