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: November 16, 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

How to perform incremental search?

Platform: WinForms |
Control: GridGroupingControl |
Published Date: November 15, 2017 |
Last Revised Date: November 15, 2017
Tags: search

In order to perform the incremental search in GridGroupingControl, the GridFindReplaceDialogSink class can be used. The GridFindReplaceDialogSink class is used to perform Find and Replace in GridGroupingControl. The GridHighlightSearchText class can be used to highlight the search text of grid with default color(yellow). This feature can be added to the GridGroupingControl by including the Syncfusion.GridHelperClasses.Windows.dll to the assembly reference.

Code snippet

C#

 

VB

 

The incremental search will be performed only when the grid has current cell and the GridGroupingControl does not have the current cell when loading. So, to search the contents, set the current cell as first cell by using below code,

C#

 

VB

 

Screenshot

Sample links

CS: IncrementalSearch_CS

VB: IncrementalSearch_VB

ADD COMMENT
You must log in to leave a comment

Please sign in to access our KB

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