Hello,
I have a hierarchical radgridview and I would like to be able to copy / paste data from the grid to an excel spreadsheet either from the parent grid either from the child grid.
I use the rowdetailstemplate to load a view containing the child grid. The copy works for the parent grid, but selection is off and copy just does not work for the second grid.
Parent :
child:
I have a hierarchical radgridview and I would like to be able to copy / paste data from the grid to an excel spreadsheet either from the parent grid either from the child grid.
I use the rowdetailstemplate to load a view containing the child grid. The copy works for the parent grid, but selection is off and copy just does not work for the second grid.
Parent :
<telerik:RadGridView x:Name=
"RadGridView1"
Grid.Row=
"2"
ItemsSource=
"{Binding ResultsViewModelList}"
AutoGenerateColumns=
"False"
custom:GridViewDataColumnsBehavior.BindableColumns=
"{Binding ColumnCollection}"
SelectionMode=
"Extended"
ScrollViewer.VerticalScrollBarVisibility=
"Visible"
ScrollViewer.HorizontalScrollBarVisibility=
"Auto"
ColumnWidth=
"150"
GroupRenderMode=
"Flat"
EnableColumnVirtualization=
"False"
ClipboardCopyMode=
"All"
>
<telerik:RadGridView.RowDetailsTemplate>
<DataTemplate >
<vw:ResultView DataContext=
"{Binding}"
/>
</DataTemplate>
</telerik:RadGridView.RowDetailsTemplate>
</telerik:RadGridView>
child:
<telerik:RadGridView Name=
"radGridView1"
AutoGenerateColumns=
"True"
ItemsSource=
"{Binding Path=ItemsList}"
ColumnWidth=
"150"
GroupRenderMode=
"Flat"
EnableColumnVirtualization=
"False"
EnableRowVirtualization=
"False"
ClipboardCopyMode=
"All"
SelectionMode=
"Multiple"
SelectionUnit=
"FullRow"
>
</telerik:RadGridView>