Exporting RowDetails having child gridview(s) of GridView

2 posts, 0 answers
  1. hb
    hb avatar
    1 posts
    Member since:
    Feb 2014

    Posted 06 Mar 2014 Link to this post

    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>
  2. Yoan
    Admin
    Yoan avatar
    1215 posts

    Posted 10 Mar 2014 Link to this post

    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.

Back to Top