Preserve the Filter when sorting columns

I have a sfDataGrid control that I am doing incremental filtering on. Once the filter is set, I want to be able to sort any of the visible columns while keeping the filter in place.

Whenever I click on a column header to sort the visible records, the filter no longer works.

How do I sort columns while maintaining the filter as applied to the visible records?

1 Reply 1 reply marked as answer

VS Vijayarasan Sivanandham Syncfusion Team July 10, 2020 04:42 PM UTC

Hi Kim Kamper, 
Thank you for contacting Syncfusion support.

We have checked the reported issue “CrossThreadException” and unable to replicate the issue from our end. it is working fine as expected. Please find the tested sample and video demo from our end in the below link,

Sample Link: https://www.syncfusion.com/downloads/support/forum/155891/ze/Sample1676196956
 
Can you please share us below things?
       
        1. Brief replication procedure/Video illustration of the reported issue

        2.
Code snippet related to customization in SfDataGrid        
 
Please check our provide sample and let us know, if you still facing the same issue? If not, please modify the sample based on your scenario.   
It will be helpful for us to check on it and provide you the solution at the earliest.  
Regards,
Vijayarasan S 


Marked as answer
Loader.
Up arrow icon