A medication contains the following fields:
Drug - object Bound to Drug.Name
Dosage - string Bound to Dosage
StartTime - DateTime Bound to StartTime
EndTime - DateTime Bound to EndTIme
Comments - String Bound to Comments
When the control binds to my list, all of the fields are allowed to be grouped except for the Drug.Name. Is there a way to group this column?
Here is my XAML
<telerik:RadGridView Margin="-2,2,2,-2" AutoGenerateColumns="False" Name="radGridView1" ItemsSource="{Binding PatientMedications}">
<telerik:RadGridView.Columns>
<telerik:GridViewDataColumn HeaderText="Name" DataMemberBinding="{Binding Path=Drug_.Name}" UniqueName="{x:Null}"/>
<telerik:GridViewDataColumn HeaderText="Dosage" DataMemberBinding="{Binding Path=Dosage}" UniqueName="{x:Null}" />
<telerik:GridViewDataColumn HeaderText="Started" DataMemberBinding="{Binding Path=StartTime}" UniqueName="{x:Null}" />
<telerik:GridViewDataColumn HeaderText="Ended" DataMemberBinding="{Binding Path=EndTime}" UniqueName="{x:Null}" />
<telerik:GridViewDataColumn HeaderText="Comments" DataMemberBinding="{Binding Path=Comments}" UniqueName="{x:Null}" />
</telerik:RadGridView.Columns>
</telerik:RadGridView>
Thanks,
Billy Jacobs