Related to FindNext()

Hi~
A simple question.
After searching in sfdatagrid, I use Findnext() to go to the last result, and if I do Findnext() again, I want to return to the starting point.
Is there a way?

5 Replies 1 reply marked as answer

VS Vijayarasan Sivanandham Syncfusion Team June 11, 2021 04:22 PM UTC

Hi nam ki hun,

Thank you for contacting Syncfusion Support.

Your requirement can be achieved by customization FindNext method in SearchController.SfDataGrid. We have prepared the sample based on your scenario.

Sample Link: https://www.syncfusion.com/downloads/support/forum/166244/ze/Sample-1591395172

For more information related to SearchController customization, please refer the  below user guide documentation,
 
 
UG Link: https://help.syncfusion.com/windowsforms/datagrid/search#search-customization

Please let us know if you have any concerns in this. 

Regards, 
Vijayarasan S 


Marked as answer

NK nam ki hun June 14, 2021 08:25 AM UTC

It's completely resolved.
Thank you.

If possible, I would like to resolve the opposite case.
I want to loop to the bottom when FindPrevious() is executed on the first search result.

please.


VS Vijayarasan Sivanandham Syncfusion Team June 15, 2021 08:59 AM UTC

Hi nam ki hun,

Your requirement can be achieved by override the FindPrevious method in SearchController.SfDataGrid. We have prepared the sample based on your scenario. 

Sample Link: https://www.syncfusion.com/downloads/support/forum/166244/ze/ModifiedSample1118332084

For more information related to Search, please refer the  below user guide documentation,
 
  
 
Please let us know if you have any concerns in this.  
 
Regards,  
Vijayarasan S 



NK nam ki hun June 16, 2021 09:11 AM UTC

It's completely resolved.
Thank you.


VS Vijayarasan Sivanandham Syncfusion Team June 16, 2021 09:49 AM UTC

Hi nam ki hun,

Thanks for the update.

We are glad to know that the reported problem has been resolved at your end. Please let us know if you have any further queries on this. We are happy to help you😊.

Regards,
Vijayarasan S 


Loader.
Up arrow icon