can't filter on server using SF data grid

i search for how to implement the filtration blazor server
here u can find the code on the index page I used the grid component inside

ProductListWithDynamicService component with GetProductBySfComponent to
do the sorting on the server I would like to do the same thing for the filtration  


Attachment: TantaWeddingmaster_c6791480.zip


6 Replies 1 reply marked as answer

JP Jeevakanth Palaniappan Syncfusion Team October 14, 2021 07:13 AM UTC

Hi Mahmoud, 

Greetings from Syncfusion support. 

We have analyzed the code in your sample and found that you have used the Custom adaptor. We would like to inform you that you can handle/customize the data operations in custom adaptor based on your requirement. 

By default, we have handled the filtering operation in the PerformFiltering method. So you can use this method to handle filtering. In case if you don’t want this and you want to handle it on your own then you can handle it by using the query in dm.Where (DataManagerRequest.Where). We will send the filter query in the dm.Where so that you can handle it on your own based on your scenario. 

 

Please refer the below documentation on custom adaptor for your reference. 

Get back to us if you have any other queries. 

Regards, 
Jeevakanth SP. 


Marked as answer

MA mahmoud October 16, 2021 04:44 PM UTC

thanks did manage it 
by sending the filter query in the dm.Where so that i can handle it on my own way




JP Jeevakanth Palaniappan Syncfusion Team October 18, 2021 05:33 AM UTC

Hi Mahmoud, 
 
Thanks for the update. We are glad that you have achieved your scenario. Please get back to us if you have any other queries. 
 
Regards, 
Jeevakanth SP. 



TA Tarik Alkathiri replied to mahmoud November 6, 2021 10:56 AM UTC

Hi  Mahmoud,

Could you please kindly send me an example for this solution, because I have the same scenario (paging, searching and flittering) on the server and can not solve this problem.

Thank you very much for your help.

Tarik Alkathiri

 [email protected]




MA mahmoud November 7, 2021 08:00 PM UTC

here is the flow for filtering and sorting on server using custom adapotor 
for more inquires please contact me on https://www.linkedin.com/in/mahmoud-khalifa-643936138/

 




TA Tarik Alkathiri replied to mahmoud November 11, 2021 08:10 PM UTC

Thank you so much  Mahmoud.

That was very helpful

Best Regards.


Loader.
Up arrow icon