No filter items for base property of interface

Hi

In my data grid I'm displaying items coming from an interface and a base interface. However the properties from the base interface cannot be used while filtering/sorting/... Why is that? How can this be solved?

FYI sample can be found as an attachment.

Note: everything works great while using the concrete classes, but not while using interfaces.

Attachment: TempWpf_c64cefa.zip

3 Replies

JG Jai Ganesh S Syncfusion Team March 15, 2018 08:32 AM UTC

Hi Stefaan, 
You can achieve your requirement by setting the UseBindingValue as true in column like below, 
 
<syncfusionGrid:GridNumericColumn HeaderText="Id" UseBindingValue="True" MappingName="Id" ParsingMode="Int" NumberDecimalDigits="0" ImmediateUpdateColumnFilter="True" /> 
 
 
 
Regards, 
Jai Ganesh S 



SA Stefaan Avonds March 15, 2018 09:26 AM UTC

Thanks, that did it!


JG Jai Ganesh S Syncfusion Team March 16, 2018 03:44 AM UTC

Hi Stefaan,  
Thank you for the update. 
Please let us know if you need further assistance on this. 
Regards, 
Jai Ganesh S

Loader.
Up arrow icon