Add a Search filter to my sfDataGrid

I have attached my code for a ContentPage with two SfDataGrids. The view is tabbed. On my Main Tab I have a FilterByDate box that is currently working. What I need is a General Search box like what you have in your SfGridView Filter Demo also to be on the main tab. I have tried to incorporate the demo page filter with no luck. I need both searches to work simultaneously. Thanks in advance.

Attachment: CustomerActivity_635d6786.zip

3 Replies

KK Karthikraja Kalaimani Syncfusion Team August 19, 2020 12:22 PM UTC

Hi Randy,

We are a little bit confused about your requirement because we have checked your provided code snippet and we saw that there is no SearchBox used in the MainTab. So, could you please let us know where two search boxes should be loaded in the view and also let us know if you want to filter the records for both grids or a single grid? Based on that we will implement the filter operation.

Regards,
Karthik Raja  
 



RA Randy August 20, 2020 08:26 PM UTC

In the 24-Hour wait I think I did it myself. If you can suggest any improvements please do so.

Attachment: CustomerActivity_a5d9be11.zip


KK Karthikraja Kalaimani Syncfusion Team August 21, 2020 12:02 PM UTC

 
Hi Randy,

Thanks for the update. We glad to know that your requirement can be achieved at your end. Please let us know if you face any issues related to SfDataGrid.

Regards,
Karthik Raja 


Loader.
Up arrow icon