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

How to find rowIndex,colIndex without havint to iterate

Hi,

Here is a quick question:

Given the text on a particular cell of a gridcontrol, is it possible to to find the rowIndex and colIndex of that cell.

The point is we do not want to itearte through all the cells and columns to locate the description on the cell which we do know.

Example, there is cell on a gridcontrol which has 'abc' as description.

We want to find out which cell has this text so that we may immediately change it's background color without having to run through each and every cell.

Thanks & Regards,
Himanshu Kumar

2 Replies

AD Administrator Syncfusion Team December 22, 2006 04:44 AM UTC

Hi Himanshu,

Here is a minimal sample that implements GridFindReplaceDialog for searching the cellvlues in a grid. It can be used without displaying the dialog. Please refer to the attached sample for more details.

GridControlFind.zip

Best Regards,
Haneef


HI Himanshu December 22, 2006 01:55 PM UTC

Hi Haneef,

Thanks for the quick reply.

I am yet to integrate the code.However, it does seem to solve the purpose.

In case of any issues, I would post it again.

Thanks again and Happy Holidays,
Himanshu

>Hi Himanshu,

Here is a minimal sample that implements GridFindReplaceDialog for searching the cellvlues in a grid. It can be used without displaying the dialog. Please refer to the attached sample for more details.

GridControlFind.zip

Best Regards,
Haneef

Loader.
Live Chat Icon For mobile
Up arrow icon