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.
Unfortunately, activation email could not send to your email. Please try again.

How to find rowIndex,colIndex without havint to iterate

Thread ID:

Created:

Updated:

Platform:

Replies:

53882 Dec 21,2006 05:02 PM Dec 22,2006 08:55 AM Windows Forms 2
loading
Tags: GridControl
Himanshu
Asked On December 21, 2006 05:02 PM

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

Administrator [Syncfusion]
Replied On December 21, 2006 11:44 PM

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

Himanshu
Replied On December 22, 2006 08:55 AM

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

CONFIRMATION

This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

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.

;