Grid Cell locator (excel style)

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.

1 Reply

LS Lingaraj S Syncfusion Team 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

Loader.
Up arrow icon