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. (Last updated on: June 24, 2019).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

EJ2 DataGrid clearFiltering

Thread ID:

Created:

Updated:

Platform:

Replies:

143681 Apr 1,2019 07:24 AM UTC Jul 4,2019 05:06 AM UTC ASP.NET Core - EJ 2 8
loading
Tags: DataGrid
Costa
Asked On April 1, 2019 07:24 AM UTC

Hi. ClearFiltering function does not work correctly. The number of records in the data set is 2000.


1) Select A in the Class column (by the way, note that if the Class value is null in the first row of the dataset, the text filter is not displayed and not available. This is another error).


2) Select Action in the Genre column. Data filtered out as expected.


3) After clicking the Clear Filters button, the number of records does not return to the original count (2000)



The number of records returns to the original after the page navigation, but this is not the behavior that was expected. Sample project in the attachment. (The number of filtered records may vary, because the list is formed dynamically)


Attachment: AspNetCore3_EJ2_829c61af.zip

Costa
Replied On April 1, 2019 11:11 AM UTC

I already understood about the first null value, it is necessary to manually specify the data type of the column. By the way, isn't it possible to “teach” a grid to determine the data type of columns not by the first record, but on the basis of a model?

Costa
Replied On April 4, 2019 10:01 AM UTC

Nevertheless, I am waiting for an answer to the main question - the wrong work of the EJ2.DataGrid.clearFiltering.

Hariharan J V [Syncfusion]
Replied On April 4, 2019 11:49 AM UTC

Hi Costa, 

Thanks for contacting us. 

Query #1: ClearFiltering function does not work correctly. 

We can able to reproduce the reported issue when we call clearFiltering method to clear the filtering from more than one column. We have logged a defect report for clearFiltering method will send multiple posts in excel filter this issue. The fix for this issue will be included in our upcoming April 17, 2019 patch release. 
 
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. 
 

Query #2: By the way, isn't it possible to “teach” a grid to determine the data type of columns not by the first record, but on the basis of a model? 

By default Grid will set the data type to the column based on the first cell value. When the first cell has null value, you must need to set the date type to that column by manually. This is default behavior of Grid. 

Regards, 
Hariharan 


Costa
Replied On April 4, 2019 01:06 PM UTC

Thanks.

Hariharan J V [Syncfusion]
Replied On April 5, 2019 06:39 AM UTC

Hi Costa, 

We will update the fix on the promised date. Until then we appreciate your patience.  

Regards, 
Hariharan 


Hariharan J V [Syncfusion]
Replied On May 3, 2019 11:47 AM UTC

Hi Costa, 
 
Thanks for your patience. 
We are sorry for the delay. We are glad to announce that our Essential JavaScript 2 patch release (17.1.43) has been rolled out successfully and in that release, we have added the fix for an issue “clearFiltering method will send multiple posts in excel filter”. 
  
Regards, 
Hariharan 


Costa
Replied On July 3, 2019 10:33 AM UTC

Thanks It works.

Hariharan J V [Syncfusion]
Replied On July 4, 2019 05:06 AM UTC

Hi Costa, 
  
Thanks for your update. 
  
We are happy to hear that the reported issue has been resolved. 
  
Regards, 
Hariharan 


CONFIRMATION

This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Please sign in to access our forum

This page will automatically be redirected to the sign-in page in 10 seconds.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon

Live Chat Icon For mobile
Live Chat Icon