Clearing a filter using Grid.ClearFiltering("ColumnName") after FilterByColumn() makes the grid display no data

Hello,

When I use custom SfComboBox filters with a ValueChange event that sets a FilterByColumn() to the grid and later clear the filtering using ClearFilterin() the grid does not display records (it shows the "No records to display" message).

I have a DataManager for the grid that fetches remote data from a controller that is scaffolded by the Syncfusion scaffolding. But the controller does not even get called when the ClearFiltering() method is invoked.

When I use the filters on the grid itself and when the filter is cleared using the built-in functionality, then the server controller gets called and the grid refreshes normally with all the data.

The problem arises when i programmatically call the FilterByColumn() and then ClearFilterin() methods.

Using Blazor version 19.4.0.52

 

Regards,

Slobodan




2 Replies

SM Slobodan Mumovikj March 6, 2022 02:19 AM UTC

The problem resolved itself by simply updating the NuGet packages of both Syncfusion and AspNetCore


Syncfusion from 19.4.0.52 to  19.4.0.54

AspNetCore from 6.0.0. to 6.0.2


But i did not do ANY code change only the NuGet update.

I was playing ghostbusters for 3 days and lost sleep and started doubting my choice of platforms and professional orientation in general!. I'm working on a short lead time "quick project" for an important customer, i did not have the luxury to waste 3 days on chasing my tail. Now i have to finish the rest of the project in 2 evenings and one day.


Regards,

Slobodan 




MS Monisha Saravanan Syncfusion Team March 7, 2022 05:18 AM UTC

Hi Slobodan Mumovikj, 

We are glad to hear that your query has been resolved in the latest version. 

At the same time we understood your frustration and we regret for the inconvenience caused at our end. We are writing testcases and we are taking more actions to improve the stability of the grid by automation. Hereafter we will ensure to deliver our fixes with no further issues. 

Please get back to us if you have further queries.  

Regards, 
Monisha 


Loader.
Up arrow icon