NullReferenceException

Hi there,

we've run into an issue while filtering with the Advanced Filter UI of SfDataGrid Columns which either hold string, bool or enum values. Numeric columns are unaffected. To reproduce this issue we simply have to close the Filter UI once and try to reaply another filter or clear the applied filter. An Exception will be thrown and the Filter for that affected columns can't be reopened again.
In the attached file you will find the thrown exception and a snippet of our SfDataGrid implementation, with an ObservableCollection as the ItemSource.

kind regards
Maxim
Attachment: NullReferenceExceptionReapplyFilter_4c2521f7.zip

1 Reply

SS Susmitha Sundar Syncfusion Team May 21, 2020 07:41 AM UTC

   
Thank you for using Syncfusion controls.  
 
We have provided the new support DoesNotEndWith and DoesNotBeginWith for TextFilter in our Volume 4, 2019 release version (17.4.0.39). We suspect that in your sample, you are using our older resx file. You can resolve this issue by adding this filter type in your resource file. Please refer to the link below.   
  
   
   
   
  
   
Please let us know, if you require further assistance on this.   
   
Regards,   
Susmitha S  
  


Loader.
Up arrow icon