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.

Grid Cell locator (excel style)

Thread ID:

Created:

Updated:

Platform:

Replies:

81993 May 26,2009 12:13 PM May 28,2009 12:38 PM Windows Forms 1
loading
Tags: GridControl
Melinda Peirce
Asked On May 26, 2009 12:13 PM

I was wondering if there was a property on a grid cell that would return the 'excel' type address location. ie "C61" or "H7"
I can write my own function to translate the colIndex to a Letter code, but I thought I would check first if the grid control has it already.

thanks.

Lingaraj S [Syncfusion]
Replied On May 28, 2009 12:38 PM

Hi Melinda,

Thank you for your interest in Syncfusion product.

In GridControl does not have defalut property and method to get the cell location, it can be done thrugh the GridCellRangeInfo class. Please try using GetNumericLabel and GetAlphaLabel method in GridRangeInfo class to get the cell location.

Please refer the code below:

Console.WriteLine(GridRangeInfo.GetAlphaLabel(3) + GridRangeInfo.GetNumericLabel(4));


Please let me know if you have any quereis.

Regards,
Lingaraj S

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.

;