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. (Last updated on: November 16, 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Grid Cell locator (excel style)

Thread ID:

Created:

Updated:

Platform:

Replies:

81993 May 26,2009 04:13 PM UTC May 28,2009 04:38 PM UTC WinForms 1
loading
Tags: GridControl
Melinda Peirce
Asked On May 26, 2009 04:13 PM UTC

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 04:38 PM UTC

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.

Please sign in to access our forum

This page will automatically be redirected to the sign-in page in 10 seconds.

Warning Icon 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.Close Icon

;