How to Find a Text in a grid while using Virtual Page technique.

Hi,

am using Virtual Page technique in which am loading lots of data. and the grid show me 16 records on a page at a time.

I want to "searh a text" which may be resides within 16 records or it may exist between 1000 / laks of record. How to find the text\column value ?

I tried using normal Find method, but is gives me the result which exist only top of the 16 records.?

Please give the solution as soon as possible ...
Thanx & Regards

TAQI

1 Reply

JS Jeba S Syncfusion Team July 16, 2007 09:45 AM UTC

Hi Mohamed,

You can acheive this by using GridFindReplaceDialogSink class. It has a Find method which accepts
GridFindReplaceArgs. Make sure that you choose GridFindTextOptions.WholeTable in the GridFindReplaceArgs.Options.

Please refer the below sample, which demonstrates searching in a grid control using the GridFindReplaceDialogSink class and the GridFindReplaceDialog class. Here is the link:
http://websamples.syncfusion.com/samples/Grid.Windows/F64119/main.htm

Thank you for using Syncfusion Products.

Kindly let us know if you need any further assistance.

Best Regards,
Jeba.

Loader.
Up arrow icon