
Hi,
I want to add a sub-table datagrid inside a table datagrid using the Actipro ThemedDataGrid.
The following code works and the sub-datagrid table shows up. I applied the Actipro ThemedDataGrid for the top datagrid table, but the sub-datagrid table I used the regular DataGrid control NOT the Actipro ThemedDataGrid.
If I change the sub-datagrid table control to the Actipro ThemedDataGrid, the sub-datagrid table would not show up and it's empty.
We want to apply all the datagrid control to the Actipro ThemedDataGrid, is there a way that we can do that?
Thanks!
                        <controls:EditOnInvalidThemedDataGrid AutoGenerateColumns="True" Grid.Row="0"
                                    Name="GovernmentCasingDataGrid" 
                                    AutoGeneratingColumn="GovtCasingsDataGrid_AutoGeneratingColumn"      
                                    GotFocus="GovernmentCasingsDataGrid_GotFocus" 
                                                  >
                            <DataGrid.RowStyle>
                                <Style TargetType="DataGridRow">
                                    <Setter Property="DetailsVisibility" Value="{Binding Path=RowDetailsIsVisible}" />
                                </Style>
                            </DataGrid.RowStyle>
                            <DataGrid.RowDetailsTemplate>
                                <DataTemplate>
                                    <Grid>
                                        <Grid.ColumnDefinitions>
                                            <ColumnDefinition Width="1427" />
                                            <ColumnDefinition Width="1*" />
                                            <ColumnDefinition Width="100*" />
                                        </Grid.ColumnDefinitions>
                                        <controls:EditOnInvalidDataGrid Name="CementDetailDataGrid" 
                                                                        Grid.Column="1" 
                                                                        HeadersVisibility="None" 
                                                                        ItemsSource="{Binding Path=CementDataGridLinesViewModelCollection}"  
                                                                        AutoGenerateColumns="True"
                                                                        AutoGeneratingColumn="CementDataGrid_AutoGeneratingColumn"
                                        >
                                        </controls:EditOnInvalidDataGrid>
                                    </Grid>
                                </DataTemplate>
                            </DataGrid.RowDetailsTemplate>
                   
                        </controls:EditOnInvalidThemedDataGrid>[Modified 8 years ago]
