We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. Image for the cookie policy date

Clearing column filters without hitting enter does not erase filter

On grid with default filtering enabled, when user clear filter by X button , if user do not hit enter grid will not remember clearance of filter.
Here is scenario
Filter first column, hit enter and filter will be filtered.
Clear text in first column by keyboard or X button , (avoid to hit Enter after that)
Focus in next filter column , 
Write filter, hit enter
First column will remain still filtered.


6 Replies

VN Vignesh Natarajan Syncfusion Team January 15, 2020 09:14 AM UTC

Hi Admir, 
 
Thanks for contacting Syncfusion support.  
 
By default filter bar mode will be OnEnter. So we suggest you to achieve your requirement by change the filter bar mode to Immediate using GridFilterSettings. Kindly refer the below code example.  
 
<EjsGrid DataSource="@Orders" AllowFiltering="true" AllowPaging="true"> 
    <GridFilterSettings Mode="FilterBarMode.Immediate"></GridFilterSettings> 
              . . . . . . . . . . . 
</EjsGrid> 
 
  
But while using Immediate mode also, we are able to reproduce the reported issue at our end and we have confirmed it is bug. Thank you for taking the time to report this issue Not able to clear the filtering on clicking the close button in Filterbar” and helping us improve our product. At Syncfusion, we are committed to fixing all validated defects (subject to technological feasibility and Product Development Life Cycle ) and including the defect fix in our upcoming bi-weekly release which is expected to be rolled out on or before February 12, 2020.  
 
You can now track the current status of your request, review the proposed resolution timeline, and contact us for any further inquiries through this link.  
 
 
Note: Currently above feedback is in review stage. It will be visible to you once reviewed 
 
Till then appreciate your patience. 
 
Regards, 
Vignesh Natarajan 



VN Vignesh Natarajan Syncfusion Team February 7, 2020 12:40 PM UTC

Hi Admir,  

Thanks for the patience.  

We have ensured the reported issue in our latest release 17.4.0.47 and we are not able to reproduce the reported issue when Filter mode is define as Immediate. So Kindly ensure the reported issue at your end by upgrading to our latest version.  Also kindly define the Mode as Immediate as suggested in previous update.  

If you still face the issue, kindly get back to us with more details.   

Regards, 
Vignesh Natarajan. 



MI Michael February 21, 2020 10:25 PM UTC

Hi,

I am using version 17.4.49, and I am facing the same issue.
This happens both for the Immediate and the OnEnter modes.
When clearing the filter value (both by typing or pressing the cross-button), it sends the request with the last non-empty value to the server.

Thanks for having a look into resolving this.

Best regards,
Michael Brignola


RS Renjith Singh Rajendran Syncfusion Team February 24, 2020 11:07 AM UTC

Hi Michael, 

Thanks for contacting Syncfusion support. 

We need ore details to further proceed on this and provide you a solution as early as possible. Please get back to us with the following details for better assistance. 

  1. Please share the type of Adaptor your using in your application.
  2. Share with us the video demo showing the problem  you are facing.
  3. Share the screenshot showing the request when click on the clear button.
  4. Share with us the exact scenario or replication procedure to reproduce the issue.
  5. Share the complete Grid settings code.
  6. If possible, kindly share with us the sample which you have tried from your side.

The provided information will help us analyze the problem, and provide you a solution as early as possible. 

Regards, 
Renjith Singh Rajendran. 



MP Madhavacharta Pande March 11, 2021 09:50 AM UTC

Hi,

I am using version 18.4.0.47, and i have the same problem for the Immediate and the OnEnter modes.

fter clicking on the cross, the sorting event does not fire, only the field is cleared from the text. You need to additionally press the enter. If you clear the fields with a cross in several columns (from three or more), you will no longer be able to find out in which filter columns you need to press the enter without manual enumeration. I am sending you an example, which shows this incorrect behavior.

Thanks for having a look into resolving this.

Best regards,
Mohamed Boehm

Attachment: SfGrid_291d89d0.zip


RS Renjith Singh Rajendran Syncfusion Team March 12, 2021 11:32 AM UTC

Hi Mohamed, 

Due to some unforeseen circumstances, we could not include the fix in our latest releases. We have planned to include the fix for this issue in our upcoming bi-weekly release which is expected to be rolled out by the mid of April 2021. 
 
Until then we appreciate your patience. 
 
Regards, 
Renjith R 


Loader.
Live Chat Icon For mobile
Up arrow icon