This is a migrated thread and some comments may be shown as answers.

Exporting RowDetails having child gridview(s) of GridView

1 Answer 40 Views
GridView
This is a migrated thread and some comments may be shown as answers.
hb
Top achievements
Rank 1
hb asked on 06 Mar 2014, 06:05 AM
To export all the row details elements

 
<telerik:RadGridView.RowDetailsTemplate>
              <DataTemplate x:Name="RowDetailsProvider">
                  <StackPanel>
                      <telerik:RadGridView x:Name="grdNPISItem1" ItemsSource="{Binding NPISItemsCollection}"   GroupRenderMode="Flat">
                          <telerik:RadGridView.Columns>
                              <telerik:GridViewColumn>
                                  <telerik:GridViewColumn.CellTemplate>
                                      <ItemContainerTemplate>
                                          <telerik:RadButton Name="btn1" Content="sdfsd" Click="btn1_Click"></telerik:RadButton>
                                      </ItemContainerTemplate>
                                  </telerik:GridViewColumn.CellTemplate>
                                  <telerik:GridViewColumn.Header>
                                      <telerik:RadButton Name="RdBtn" Content="Click"></telerik:RadButton>
                                  </telerik:GridViewColumn.Header>
                              </telerik:GridViewColumn>
                          </telerik:RadGridView.Columns>
 
                      </telerik:RadGridView>
                      <telerik:RadGridView x:Name="grdNPISCover1" ItemsSource="{Binding NPISCoversCollection}"></telerik:RadGridView>
                      <telerik:RadGridView x:Name="grdNPISNote1" ItemsSource="{Binding NPISNotesCollection}"  ></telerik:RadGridView>
                  </StackPanel>
              </DataTemplate>
          </telerik:RadGridView.RowDetailsTemplate>

1 Answer, 1 is accepted

Sort by
0
Yoan
Telerik team
answered on 10 Mar 2014, 06:09 PM
Hello,

You can check our online demo on exporting GridView's RowDetails and try the same for the child GridView. You can use the childGridView.ParentRow.Item to get information for the parent row.

Regards,
Yoan
Telerik

DevCraft Q1'14 is here! Watch the online conference to see how this release solves your top-5 .NET challenges. Watch on demand now.

Tags
GridView
Asked by
hb
Top achievements
Rank 1
Answers by
Yoan
Telerik team
Share this question
or