I have a need to place a RadChart (or two) in the row details of a RadGridView however when I do, the row details will not display. If I comment out the RadChart the "empty" row details work just fine.
This is a sample of the XAML.
This is a sample of the XAML.
<
telerik:RadGridView
x:Name
=
"StatisticsView"
AutoGenerateColumns
=
"False"
EnableColumnVirtualization
=
"True"
EnableRowVirtualization
=
"True"
IsReadOnly
=
"True"
RowDetailsVisibilityChanged
=
"StatisticsView_RowDetailsVisibilityChanged"
RowDetailsVisibilityMode
=
"Collapsed"
ShowGroupPanel
=
"False"
>
<
telerik:RadGridView.Columns
>
<
telerik:GridViewToggleRowDetailsColumn
/>
<
telerik:GridViewDataColumn
Header
=
"Group Name"
IsReadOnly
=
"True"
UniqueName
=
"GroupName"
/>
<
telerik:GridViewDataColumn
Header
=
"Group Ranking"
IsReadOnly
=
"True"
UniqueName
=
"GroupRank"
/>
</
telerik:RadGridView.Columns
>
<
telerik:RadGridView.RowDetailsTemplate
>
<
DataTemplate
>
<
StackPanel
Orientation
=
"Horizontal"
MinHeight
=
"320"
>
<
telerik:RadChart
>
<
telerik:RadChart.DefaultView
>
<
telerik:ChartDefaultView
ChartTitle
=
"Why Doesn't This Work?"
>
</
telerik:ChartDefaultView
>
</
telerik:RadChart.DefaultView
>
</
telerik:RadChart
>
</
StackPanel
>
</
DataTemplate
>
</
telerik:RadGridView.RowDetailsTemplate
>
</
telerik:RadGridView
>