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. Image for the cookie policy date

Searching for value in DataBound Grid

I have a databound grid that has a large number of records. I want to be able to search for a particular string in one of the columns and have the row/col information returned. How can I do this? Thanks.

1 Reply

RA Rajagopal Syncfusion Team June 22, 2007 06:12 PM UTC

Hi Aaron,

You couls do this by using GridFindReplaceDialogSink class, which has a find method to search through the grid content and return the GridRangeInfo for the first matched cell. The row index and column index can be retrieved from this matched cell. Please refer the below sample for more information.

Here is a sample GDBG_SearchText.zip

Regards,
Rajagopal

Loader.
Live Chat Icon For mobile
Up arrow icon