How to not Find/Replace Headers

I am using the GridFindReplaceDialog and noticed that it finds and replaces the column headers. Is there any way to not include column headers in the find/replace feature?

2 Replies

AD Administrator Syncfusion Team March 2, 2006 08:39 PM UTC

Does anybody have any ideas?? Thanks, Domenick


AD Administrator Syncfusion Team March 5, 2006 07:17 AM UTC

Hi Domenick, Sorry for the delay in replying. The mentioned issue can be avoid by having a custom GridFindReplaceDialogSink class that implements the IGridFindReplaceDialogSink, and by returning null in the FindInRange method if the CellType is Header. Please refer the sample. Regards, Calvin.

41439.zip

Loader.
Up arrow icon