SfDataGrid catch ArgumentException when filtr by column

Hi,

I create project with load two grids similiary to sample 

https://www.syncfusion.com/kb/7828/how-to-load-sfdatagrid-dynamically-with-json-data-without-poco-classes

I load columns and data from api.

Data load correctly but when i want to filtr by column I get ArgumentException like below 

Values [LOKALIZACJA_NADZ] "is not a member of the type" KunaPlanerWpf.Models.DynamicModel.DynamicModel

Add not work grouping. When I drag and drop column to area nothing

happens


Best Regards


Attachment: KunaPlanerWpf_5645ea5c.zip

6 Replies

MA Mohanram Anbukkarasu Syncfusion Team June 30, 2021 02:26 PM UTC

Hi Kamil Krzyzanski, 

We regret for the inconvenience.  

We are unable to launch the provided sample. It throws exception on launching the sample as “SocketException: No connection could be made because the target machine actively refused it”. 
However We suspect that the reported issue occurs only wen filtering the column for which the underlying value is a Dictionary. Kindly revert to us with this details. It will be ore helpful for us to find the exact cause for the issue and to provide a prompt solution.  

Regards, 
Mohanram A. 



KK Kamil Krzyzanski July 9, 2021 11:19 AM UTC

I fix sample. I added static data and error occurs.


Regards,

Kamil K.


Attachment: KunaPlanerWpf_407c502e.zip


MA Mohanram Anbukkarasu Syncfusion Team July 12, 2021 12:49 PM UTC

Hi Kamil Krzyzanski, 

Thanks for the update.  

We have checked the provided sample and we are able to reproduce the reported issue in our end. We are currently validating this. We will check and update with further details on July 14, 2021. We appreciate your patience until then. 

Regards, 
Mohanram A. 




MA Mohanram Anbukkarasu Syncfusion Team July 14, 2021 09:58 AM UTC

Hi Kamil Krzyzanski, 

Thanks for your patience.  

We have checked the provided sample in our end. You can resolve this by enabling GridColumn.UseBindingValue property for the columns in the DataGrid. Please find the modified sample from the following link.  


Please let us know if you require any other assistance from us.  

Regards, 
Mohanram A. 



KK Kamil Krzyzanski July 15, 2021 08:40 AM UTC

Thank you for help. It works perfectly.


Regards



MA Mohanram Anbukkarasu Syncfusion Team July 15, 2021 12:54 PM UTC

Hi Kamil Krzyzanski, 

Thanks for the update.  

We are glad to know that the provided solution worked at your end. Please let us know if you have any other assistance from us. We are happy to help you.  

Regards, 
Mohanram A. 


Loader.
Up arrow icon