Quantcast
Channel: Telerik Forums RSS
Viewing all articles
Browse latest Browse all 94857

SortMemberPath and GroupMemberPath does not work with multiple elements in Collection

$
0
0

I am working on one module where user can have multiple addresses and phones. I can see data in UI.

The problem is that sorting and grouping does not work with Telerik:GridViewDataColumn. I tired for long time, please help me on this.

 

Please see below code for your reference.

 

 <telerik:GridViewDataColumn Width="0.14*"
                                                Header="{Binding [City], Source={StaticResource Labels}}"
                                                SortMemberPath="XePatientAddress.City"
                                                GroupMemberPath="XePatientAddress.City"
                                                DataMemberBinding="{Binding XePatientAddress, Converter={StaticResource ListConverter}, ConverterParameter=City}" />
\<telerik:GridViewDataColumn Width="0.12*"
                                                Header="{Binding [Phone], Source={StaticResource Labels}}"
                                                DataMemberBinding="{Binding XePatientAddress, Converter={StaticResource ListConverter}, ConverterParameter=Phone:PhoneConverter}"
                                                SortMemberPath="XePatientAddress.Phone"
                                                GroupMemberPath="XePatientAddress.Phone" />


Viewing all articles
Browse latest Browse all 94857

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>