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.

Formulas

Thread ID:

Created:

Updated:

Platform:

Replies:

68698 Sep 27,2007 12:14 PM Sep 28,2007 02:45 PM Windows Forms 1
loading
Tags: GridControl
Thanvir Hussain
Asked On September 27, 2007 12:14 PM

Hi,

Can you let me know how to get the Cell location as A1 or A2 from the row and column index.

I have the row and column Index in my code. but in order for me to apply a formula I need to comvert this row & column index to A1 or A2.

thanks
thanvir

haneefm [Syncfusion]
Replied On September 28, 2007 02:45 PM

Hi Thanvir,

You can get the location text of the gridcell using the GridRangeInfo.GetAlphaLabel and GridRangeInfo.GetNumericLabel method. Here is a code snippet:

string cellLocationText = GridRangeInfo.GetAlphaLabel(ColIndex) + GridRangeInfo.GetNumericLabel(RowIndex);

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.

;